function CronCommand::__construct

Same name and namespace in other branches
  1. main 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\Command

Code

public function __construct(protected CronInterface $cron) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.