You are here

NullEventSubscriber.php in Helper 8

File

src/EventSubscriber/NullEventSubscriber.php
View source
<?php

namespace Drupal\helper\EventSubscriber;

use Symfony\Component\EventDispatcher\EventSubscriberInterface;

/**
 * An event subscriber class that does nothing. Use for service overrides.
 */
class NullEventSubscriber implements EventSubscriberInterface {

  /**
   * {@inheritdoc}
   */
  public static function getSubscribedEvents() {
    return [];
  }

}

Classes

Namesort descending Description
NullEventSubscriber An event subscriber class that does nothing. Use for service overrides.