src/RawPHP/RawRouter/Controller.php
public function addDefaultListeners()
    {
        $this->dispatcher->addListener( Events::EVENT_BEFORE_CONTROLLER_RUN, $this );
        $this->dispatcher->addListener( Events::EVENT_AFTER_CONTROLLER_RUN, $this );
    }
public function addDefaultListeners()
    {
        $this->dispatcher->addListener( Events::EVENT_BEFORE_CONTROLLER_RUN, $this );
        $this->dispatcher->addListener( Events::EVENT_AFTER_CONTROLLER_RUN, $this );
    }
public function addDefaultListeners ( ) { $ this -> dispatcher -> addListener ( Events :: EVENT_BEFORE_CONTROLLER_RUN , $ this ) ; $ this -> dispatcher -> addListener ( Events :: EVENT_AFTER_CONTROLLER_RUN , $ this ) ; }
Initialises the controller and attach default listeners.
Initialises the controller and attach default listeners .