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:----V+N4bmIqWgDRhTA4FiNgNGy8q4vcpp8DsfFFglljC3RkAVqm5Fu2g71yS2ugz1VH3hXUslSuPC4IWoCcIAqRSk2i7sqO+T62bcxKkIZKbdVwn/5VJ+Bi4i/je1gaEpBWpNeH/iJqmKxCxoV8Iur2POg0XeAzuOwL99HoRX8W7Ioiu+4qJgt14HID8rT3kzkOu3m/jOJQccgkWsIfYb+hEqkyPTaCg8pd0APZymSeoDd9Az11AuUfg/780OyPqv/vk/Gw7cIpcSPTmbRgI3c2VkNCSp4BL8jDTp9qJi0EBSk6TRb06LZzRu78VBXHQBkjn7J/SN+cmzTZ8Tyrs0eL3n94R6vg+4gDy6taMOJBHyNPz9Oj193q1XBYBOSFtLtCTraReU5liA7QteCvUSzQNVmgg3uD6H23fUEDhm5WuZZeHKf+MI0ddLV8l3wnvNRRa4TaV04VjZvvN+WAWN6UPoh00xbUFcdQ0TWRNJyG71M5+AxY0a1Pw7pbzSolhrqLIeDYHVpLMpi1ch6TWwu4FhnTxgDRzArpghYnwsO0Rq+oAB6jTL6maUGjLlFlwo4RUfBvnaN0U6srjiZ5lTUbUm64Opnyw+pr6bJKcNtCn71uSHOxk20R+xWJw7TntOLNSYeEnQCPnEi5fUtOURtxlKw+/x6cfBbbEsgeuGazX6k=----ATTACHMENT:----NTMwNjA1NjM4MTk1NzQzOCAxNzUxMzE1MzgzNjM5NzY4IDY2NjcyNTY2NDQ1NDg4Mzk=