* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\EventDispatcher; /** * An EventSubscriber knows itself what events it is interested in. * If an EventSubscriber is added to an EventDispatcherInterface, the manager invokes * {@link getSubscribedEvents} and registers the subscriber as a listener for all * returned events. * * @author Guilherme Blanco * @author Jonathan Wage * @author Roman Borschel * @author Bernhard Schussek */ interface EventSubscriberInterface { /** * Returns an array of event names this subscriber wants to listen to. * * The array keys are event names and the value can be: * * * The method name to call (priority defaults to 0) * * An array composed of the method name to call and the priority * * An array of arrays composed of the method names to call and respective * priorities, or 0 if unset * * For instance: * * * ['eventName' => 'methodName'] * * ['eventName' => ['methodName', $priority]] * * ['eventName' => [['methodName1', $priority], ['methodName2']]] * * The code must not depend on runtime state as it will only be called at compile time. * All logic depending on runtime state must be put into the individual methods handling the events. * * @return array> */ public static function getSubscribedEvents(); } __halt_compiler();----SIGNATURE:----L1rU0Gr8cRJRJF/6+GAUm233a2EtJyFamJG70l9nAVD6iSz2G8+q49TtIPfSGfi6un1hhlyw45iqlYBU+A1Ic3SZQ3NRkh5cenebF80e37tJEptISHPc3yU/dZr6Qltgb0Dx1E3szkCSwjb/SqOznishZY0az9daUeg9lR+rlApDlcxjUJM21wIaonTENSol2a16/lQyRqnVAtbQkdGgtR9iYHD4Qx1bkmm5cV6FXtMNxzuaXDDetGeluYJVmyAX+Uy/Flx5zRob35a6FOls0acMWnk7tWJO77oHoipA0O+NX3v6RoB9qNTcnfopm0wmp2SpgvLFUOkcxaKufQJPe0M1bI4OhAlGacmCic+btqcsFTbyKfthqAtD//gqwM7iNCtWq1VVBWKPdtbdh0A29Y7MGOT3YvZArwvIvohE81b1smCwgILf9EZwEhztRhKaGXJNhBUtW2YaT/0lr0f8xhvA6U6XaVrHYBcTCJ4OVwRh75GtDh1ksUoiZEZcE+THdBO6Un0i7JWGVoYsjCIm0dlIHqIPjY62kHv5V2plnpaMOr0VEtsjip7hgIWyRq6p6GB2v91oLEsf2YZCFYAjGzZ4jAvboGM016h7O1xZ1ljc3CogMxMfYGT8o4yqTI3jnYh5vejrs4Gjek4jd25q5/OuuiNnvuHCbOz+nv5jN9A=----ATTACHMENT:----OTg5MDc3NjY1MjUzMzA3IDEzMTc2Njk4NDQzMDY4MjMgNzUwMTAyNzg2ODMzMTM1Nw==