CronEvent.php in Hook Event Dispatcher 3.x
Same filename and directory in other branches
Namespace
Drupal\core_event_dispatcher\Event\CoreFile
modules/core_event_dispatcher/src/Event/Core/CronEvent.phpView source
<?php
namespace Drupal\core_event_dispatcher\Event\Core;
use Drupal\hook_event_dispatcher\Event\EventInterface;
use Drupal\hook_event_dispatcher\HookEventDispatcherInterface;
use Symfony\Component\EventDispatcher\Event;
/**
* Class CronEvent.
*/
final class CronEvent extends Event implements EventInterface {
/**
* Get the dispatcher type.
*
* @return string
* The dispatcher type.
*/
public function getDispatcherType() : string {
return HookEventDispatcherInterface::CRON;
}
}