. */ #namespace Doctrine::Common; /** * An EventSubscriber knows itself what events it 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. * * @author Roman Borschel * @license http://www.opensource.org/licenses/lgpl-license.php LGPL * @link www.phpdoctrine.org * @since 2.0 * @version $Revision: 4653 $ */ interface Doctrine_Common_EventSubscriber { public function getSubscribedEvents(); }