class TestEventSubscriber in Plug 7
Hierarchy
- class \Doctrine\Tests\Common\TestEventSubscriber implements EventSubscriber
Expanded class hierarchy of TestEventSubscriber
File
- lib/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ EventManagerTest.php, line 82
Namespace
Doctrine\Tests\CommonView source
class TestEventSubscriber implements \Doctrine\Common\EventSubscriber {
public function getSubscribedEvents() {
return array(
'preFoo',
'postFoo',
);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
TestEventSubscriber:: |
public | function |
Returns an array of events this subscriber wants to listen to. Overrides EventSubscriber:: |