You are here

public function CronController::__construct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/CronController.php \Drupal\system\CronController::__construct()

Constructs a CronController object.

Parameters

\Drupal\Core\CronInterface $cron: The cron service.

File

core/modules/system/src/CronController.php, line 33
Contains \Drupal\system\CronController.

Class

CronController
Controller for Cron handling.

Namespace

Drupal\system

Code

public function __construct(CronInterface $cron) {
  $this->cron = $cron;
}