WordPress at Your Fingertips
function is not described

ActionScheduler_QueueRunner::__construct() public WC 1.0

ActionScheduler_QueueRunner constructor.

{} It's a method of the class: ActionScheduler_QueueRunner{}

No Hooks.

Return

null. Nothing.

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

Code of ActionScheduler_QueueRunner::__construct() WC 6.1.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;
}