ActionScheduler_QueueRunner::__construct()
ActionScheduler_QueueRunner constructor.
Method of the class: ActionScheduler_QueueRunner{}
No Hooks.
Return
null
. Nothing (null).
Usage
$ActionScheduler_QueueRunner = new ActionScheduler_QueueRunner(); $ActionScheduler_QueueRunner->__construct( $store, $monitor, $cleaner, $async_request );
- $store(ActionScheduler_Store)
- -
Default: null - $monitor(ActionScheduler_FatalErrorMonitor)
- -
Default: null - $cleaner(ActionScheduler_QueueCleaner)
- -
Default: null - $async_request(ActionScheduler_AsyncRequest_QueueRunner)
- -
Default: null
ActionScheduler_QueueRunner::__construct() ActionScheduler QueueRunner:: construct code WC 9.3.1
public function __construct( ActionScheduler_Store $store = null, ActionScheduler_FatalErrorMonitor $monitor = null, ActionScheduler_QueueCleaner $cleaner = null, ActionScheduler_AsyncRequest_QueueRunner $async_request = null ) { parent::__construct( $store, $monitor, $cleaner ); if ( is_null( $async_request ) ) { $async_request = new ActionScheduler_AsyncRequest_QueueRunner( $this->store ); } $this->async_request = $async_request; }