You are here

public function SchedulerManager::__construct in Scheduler 8

Same name and namespace in other branches
  1. 2.x src/SchedulerManager.php \Drupal\scheduler\SchedulerManager::__construct()

Constructs a SchedulerManager object.

File

src/SchedulerManager.php, line 79

Class

SchedulerManager
Defines a scheduler manager.

Namespace

Drupal\scheduler

Code

public function __construct(DateFormatterInterface $dateFormatter, LoggerInterface $logger, ModuleHandlerInterface $moduleHandler, EntityTypeManagerInterface $entityTypeManager, ConfigFactoryInterface $configFactory, ContainerAwareEventDispatcher $eventDispatcher, TimeInterface $time) {
  $this->dateFormatter = $dateFormatter;
  $this->logger = $logger;
  $this->moduleHandler = $moduleHandler;
  $this->entityTypeManager = $entityTypeManager;
  $this->configFactory = $configFactory;
  $this->eventDispatcher = $eventDispatcher;
  $this->time = $time;
}