function CronHook::__construct

Same name in this branch
  1. main core/modules/file/src/Hook/CronHook.php \Drupal\file\Hook\CronHook::__construct()
Same name and namespace in other branches
  1. 11.x core/modules/file/src/Hook/CronHook.php \Drupal\file\Hook\CronHook::__construct()
  2. 11.x core/modules/package_manager/src/Hook/CronHook.php \Drupal\package_manager\Hook\CronHook::__construct()

File

core/modules/package_manager/src/Hook/CronHook.php, line 35

Class

CronHook
Implements hook_cron().

Namespace

Drupal\package_manager\Hook

Code

public function __construct(private readonly PathLocator $pathLocator, private readonly BeginnerInterface $beginner, private readonly StagerInterface $stager, private readonly CommitterInterface $committer, private readonly QueueFactory $queueFactory, private readonly EventDispatcherInterface $eventDispatcher, private readonly SharedTempStoreFactory $sharedTempStoreFactory, private readonly TimeInterface $time, private readonly PathFactoryInterface $pathFactory, private readonly FailureMarker $failureMarker, private readonly StateInterface $state, private readonly FileSystemInterface $fileSystem) {
}

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