You are here

class TestEventSubscriber in Zircon Profile 8.0

Same name in this branch
  1. 8.0 vendor/symfony/event-dispatcher/Tests/AbstractEventDispatcherTest.php \Symfony\Component\EventDispatcher\Tests\TestEventSubscriber
  2. 8.0 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber
Same name and namespace in other branches
  1. 8 vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php \Doctrine\Tests\Common\TestEventSubscriber

Hierarchy

Expanded class hierarchy of TestEventSubscriber

File

vendor/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php, line 82

Namespace

Doctrine\Tests\Common
View source
class TestEventSubscriber implements \Doctrine\Common\EventSubscriber {
  public function getSubscribedEvents() {
    return array(
      'preFoo',
      'postFoo',
    );
  }

}

Members

Namesort descending Modifiers Type Description Overrides
TestEventSubscriber::getSubscribedEvents public function Returns an array of events this subscriber wants to listen to. Overrides EventSubscriber::getSubscribedEvents