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:----AbGASOI8HTqCn0gH6RVOeynzTt6nWrMdVNOfmLtaOyuE/wlFE3Nz1GyZVEgWPhqrgNQuw4QXblHguBq2SZAcWkw3f9dafrznV0OTL9WKjosvZz2SRkbBXBqlde4uJZKOD3w67xwxxx41OETBNKPe8XX7yIZowg4ZioClrFDm+phkmuE7hbydJLHu4YJkoo5Goyphqb26mH2y3LhkksIM9RJhTB5z5PIWJhyCo/a7v7/oAYY1u7epQrAIaoxGBGOE7zfdIX3y/cas4iP26D7uAy2KXeRHLV/71VmnmhR3/lfsYNjPcPHZ8A4XTS8zUtowfxBXG6NPgNuH5m9ZDmcqebuMKFP0GYSi39nks93CZXN6IR6QIs0nPQx6ZdixWe27yNMUtaJT2HoOCAYLiJINGgnGFBl2iPUnGRfX3C/+tCDgFXp+fKE377koR+VcUHDfg5FW0yDaw4rFhllqeddYCAR4VxR0cu7UyOdEbhRFgTdejneM+FBGTwjGsQcHcQZLg+c64P4Y84Aa75RBmqhZhIhpMdgAM9X1yXMbJtkDdm6GMsOCg/R0ZmzJaIhxSVKrra7t4AxZz6kKUE8IyxgPCtgLqCjio0st775tjHue9ZWQEv5IQ+M1td0YV7WemNdaWKh4Ayy4iGjSKxokkrvHHSWRYi3NAXaSAGofIyJRDVs=----ATTACHMENT:----NjMzNzY5OTE5NDE5NjEzNCA5NTM3NzM1NTExMTI5ODU3IDM1OTAwNDM3NjIxMDk3NTA=