protected function registerEventListeners()
    {
        foreach ($this->events as $event => $listener) {
            Event::listen($event, $listener);
        }

        return $this;
    }
protected function registerEventListeners()
    {
        foreach ($this->events as $event => $listener) {
            Event::listen($event, $listener);
        }

        return $this;
    }
protected function registerEventListeners ( ) { foreach ( $ this -> events as $ event => $ listener ) { Event :: listen ( $ event , $ listener ) ; } return $ this ; }
Registers listeners for events.

@return $this
Registers listeners for events .