ActionScheduler_Abstract_QueueRunner::__construct()publicWC 1.0

ActionScheduler_Abstract_QueueRunner constructor.

Method of the class: ActionScheduler_Abstract_QueueRunner{}

No Hooks.

Return

null. Nothing (null).

Usage

$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner();
$ActionScheduler_Abstract_QueueRunner->__construct( $store, $monitor, $cleaner );
$store(ActionScheduler_Store)
-
Default: null
$monitor(ActionScheduler_FatalErrorMonitor)
-
Default: null
$cleaner(ActionScheduler_QueueCleaner)
-
Default: null

ActionScheduler_Abstract_QueueRunner::__construct() code WC 9.3.3

public function __construct( ActionScheduler_Store $store = null, ActionScheduler_FatalErrorMonitor $monitor = null, ActionScheduler_QueueCleaner $cleaner = null ) {

	$this->created_time = microtime( true );

	$this->store   = $store ? $store : ActionScheduler_Store::instance();
	$this->monitor = $monitor ? $monitor : new ActionScheduler_FatalErrorMonitor( $this->store );
	$this->cleaner = $cleaner ? $cleaner : new ActionScheduler_QueueCleaner( $this->store );
}