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