private function registerEventListeners()
    {
        $listeners = $this->getListeners();
        foreach ($listeners as $listenerKey => $listenerValues) {
            foreach ($listenerValues as $listenerValue) {
                \Event::listen($listenerKey,
                    $listenerValue
                );
            }
        }
    }
private function registerEventListeners()
    {
        $listeners = $this->getListeners();
        foreach ($listeners as $listenerKey => $listenerValues) {
            foreach ($listenerValues as $listenerValue) {
                \Event::listen($listenerKey,
                    $listenerValue
                );
            }
        }
    }
private function registerEventListeners ( ) { $ listeners = $ this -> getListeners ( ) ; foreach ( $ listeners as $ listenerKey => $ listenerValues ) { foreach ( $ listenerValues as $ listenerValue ) { \ Event :: listen ( $ listenerKey , $ listenerValue ) ; } } }
Register the list of listeners and events.

@return void
Register the list of listeners and events .