CronEvent.php in Hook Event Dispatcher 8
Namespace
Drupal\hook_event_dispatcher\Event\CronFile
src/Event/Cron/CronEvent.phpView source
<?php
namespace Drupal\hook_event_dispatcher\Event\Cron;
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() {
return HookEventDispatcherInterface::CRON;
}
}