ActionScheduler_Abstract_QueueRunner::__construct
ActionScheduler_Abstract_QueueRunner constructor.
Метод класса: ActionScheduler_Abstract_QueueRunner{}
Хуков нет.
Возвращает
null. Ничего (null).
Использование
$ActionScheduler_Abstract_QueueRunner = new ActionScheduler_Abstract_QueueRunner(); $ActionScheduler_Abstract_QueueRunner->__construct( ?ActionScheduler_Store $store, ?ActionScheduler_FatalErrorMonitor $monitor, ?ActionScheduler_QueueCleaner $cleaner );
- ?ActionScheduler_Store $store
- .
По умолчанию: null - ?ActionScheduler_FatalErrorMonitor $monitor
- .
По умолчанию: null - ?ActionScheduler_QueueCleaner $cleaner
- .
По умолчанию: null
Код ActionScheduler_Abstract_QueueRunner::__construct() ActionScheduler Abstract QueueRunner:: construct WC 10.4.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 );
}