Doctrine


Doctrine\Common\EventSubscriber
/Doctrine/Common/EventSubscriber.php at line 37

Interface EventSubscriber

EventSubscriber

public interface EventSubscriber

An EventSubscriber knows himself what events he is interested in. If an EventSubscriber is added to an EventManager, the manager invokes getSubscribedEvents and registers the subscriber as a listener for all returned events.

License:
http://www.opensource.org/licenses/lgpl-license.php LGPL
See Also:
www.doctrine-project.org
Since:
2.0
Author:
Guilherme Blanco
Jonathan Wage
Roman Borschel

Method Summary
array

getSubscribedEvents()

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

Method Detail

/Doctrine/Common/EventSubscriber.php at line 44

getSubscribedEvents

public array getSubscribedEvents()

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


Doctrine