public function SchedulerCommands::__construct in Scheduler 2.x
Same name and namespace in other branches
- 8 src/Commands/SchedulerCommands.php \Drupal\scheduler\Commands\SchedulerCommands::__construct()
SchedulerCommands constructor.
Parameters
\Drupal\scheduler\SchedulerManager $schedulerManager: Scheduler manager service.
\Drupal\Core\Messenger\MessengerInterface $messenger: Messenger service.
File
- src/
Commands/ SchedulerCommands.php, line 36
Class
- SchedulerCommands
- Drush 9 Scheduler commands for Drupal Core 8.4+.
Namespace
Drupal\scheduler\CommandsCode
public function __construct(SchedulerManager $schedulerManager, MessengerInterface $messenger) {
parent::__construct();
$this->schedulerManager = $schedulerManager;
$this->messenger = $messenger;
}