function CronCommand::__construct
Same name and namespace in other branches
- 11.x core/modules/system/src/Command/CronCommand.php \Drupal\system\Command\CronCommand::__construct()
File
-
core/
modules/ system/ src/ Command/ CronCommand.php, line 29
Class
- CronCommand
- Runs cron implementations.
Namespace
Drupal\system\CommandCode
public function __construct(protected CronInterface $cron) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.