You are here

public function TestEventSubscriber::getSubscribedEvents in Plug 7

Returns an array of events this subscriber wants to listen to.

Return value

array

Overrides EventSubscriber::getSubscribedEvents

File

lib/doctrine/common/tests/Doctrine/Tests/Common/EventManagerTest.php, line 84

Class

TestEventSubscriber

Namespace

Doctrine\Tests\Common

Code

public function getSubscribedEvents() {
  return array(
    'preFoo',
    'postFoo',
  );
}