You are here

CronEvent.php in Hook Event Dispatcher 8

File

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

}

Classes

Namesort descending Description
CronEvent Class CronEvent.