public function addOneTimeListener($event, $listener, $priority = ListenerAcceptorInterface::P_NORMAL)
    {
        $this->getEmitter()->addOneTimeListener($event, $listener, $priority);

        return $this;
    }
public function addOneTimeListener($event, $listener, $priority = ListenerAcceptorInterface::P_NORMAL)
    {
        $this->getEmitter()->addOneTimeListener($event, $listener, $priority);

        return $this;
    }
public function addOneTimeListener ( $ event , $ listener , $ priority = ListenerAcceptorInterface :: P_NORMAL ) { $ this -> getEmitter ( ) -> addOneTimeListener ( $ 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
Add a one time listener for an event .