You are here

class TestEventSubscriber in Plug 7

Hierarchy

Expanded class hierarchy of TestEventSubscriber

File

lib/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