Cron::__construct

public function Cron::__construct

public Cron::__construct(ModuleHandlerInterface $module_handler, LockBackendInterface $lock, QueueFactory $queue_factory, StateInterface $state, AccountSwitcherInterface $account_switcher, LoggerInterface $logger, QueueWorkerManagerInterface $queue_manager)

Constructs a cron object.

Parameters

\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler

\Drupal\Core