You are here

CronEvent.php in Hook Event Dispatcher 3.x

Same filename and directory in other branches
  1. 8.2 modules/core_event_dispatcher/src/Event/Core/CronEvent.php

File

modules/core_event_dispatcher/src/Event/Core/CronEvent.php
View 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;
  }

}

Classes

Namesort descending Description
CronEvent Class CronEvent.