public function register($event, callable $listener, $priority = null)
    {
        foreach ((array) $event as $e) {
            $this->registerListener($e, $listener, $priority);
        }

        return $this;
    }
public function register($event, callable $listener, $priority = null)
    {
        foreach ((array) $event as $e) {
            $this->registerListener($e, $listener, $priority);
        }

        return $this;
    }
public function register ( $ event , callable $ listener , $ priority = null ) { foreach ( ( array ) $ event as $ e ) { $ this -> registerListener ( $ e , $ listener , $ priority ) ; } return $ this ; }
Adds listener to single event or array of events

@param string|array $event
@param callable     $listener
@param null|int     $priority

@return $this
Adds listener to single event or array of events