getEmitter()->addListener($event, $listener, $priority); return $this; } /** * Add a one time listener for an event. * * The first parameter should be the event name, and the second should be * the event listener. It may implement the League\Event\ListenerInterface * or simply be "callable". * * @param string $event * @param ListenerInterface|callable $listener * @param int $priority * * @return $this */ public function addOneTimeListener($event, $listener, $priority = ListenerAcceptorInterface::P_NORMAL) { $this->getEmitter()->addOneTimeListener($event, $listener, $priority); return $this; } /** * Remove a specific listener for an event. * * The first parameter should be the event name, and the second should be * the event listener. It may implement the League\Event\ListenerInterface * or simply be "callable". * * @param string $event * @param ListenerInterface|callable $listener * * @return $this */ public function removeListener($event, $listener) { $this->getEmitter()->removeListener($event, $listener); return $this; } /** * Remove all listeners for an event. * * The first parameter should be the event name. All event listeners will * be removed. * * @param string $event * * @return $this */ public function removeAllListeners($event) { $this->getEmitter()->removeAllListeners($event); return $this; } /** * Add listeners from a provider. * * @param ListenerProviderInterface $provider * * @return $this */ public function useListenerProvider(ListenerProviderInterface $provider) { $this->getEmitter()->useListenerProvider($provider); return $this; } /** * Emit an event. * * @param string|EventInterface $event * * @return EventInterface */ public function emit($event) { $emitter = $this->getEmitter(); $arguments = [$event] + func_get_args(); return call_user_func_array([$emitter, 'emit'], $arguments); } } __halt_compiler();----SIGNATURE:----vYOcpLG6Zg5QaU21qYp5zMCfEsx9pQ9/LXw2VBJ6eZvtKfGtA5EnNgJLOc5bxf6mEP7krnwm8fjhz82XSP9WapYY4esItxyxmfI1cvYw3tT9h4WjbAzUxUQfpq0N8ukM1fE+W9PRE/YA2Of6EKWRkM8ccTxJgpMA1lCRnTkHXu/o2P2QettY2BvTLIhNzc/HItbX9rQ4AL4wXS4jc/LLPDeLncFwQeWvUDc6vcldao1lKMM5UD78SJS8b6MtNHlKSAo2ApH6mBtLuHrak8WvzgaWZFiTsjZuvqc1a/AmnhNCN3Mt2ac899dTsAcj4Qo934SLskG0PCDv3iwN/fxJEWxgfpDGGGuYBHMAc9+JSFncNAxQZp/PFO0M+rEtbBIatdfJC68OkFRWOsGp7Gu6TPg0doQw1CX5LGae4L1PvsBB3+zGePWzMCinOJyqUnPJYdRUTpUmn83CBt5x4w5DSfr1crYg6k1HWfKF1I+HB9t1GC2ZKmlwYpSxMoRBQTiGlmzIZmfaDULCEJukXIb9sR336pwBHnn+S6DYbXW61TuwNSiyI+pcgerL2glTxGDzIiKFGy3YQ3lSawJwO34vaeIJONsV7FdAjoQPffxR6AIQKZP5Ynwkoe0ieyJ1d++8Nn0OMD9K108ZWH85vLh9iEsqBONwJT4u2bqpcCg26y8=----ATTACHMENT:----NzA5NzYxMjg3MzczNjc3NiA4NjQ5OTQ2ODc2NDEzMzg1IDcxMjk4Mjg0NTY3NjA0Nzk=