src/Phossa2/Route/Dispatcher.php
protected function defaultHandler()/*# : bool */
    {
        $status = $this->result->getStatus();
        $handler = $this->result->getHandler() ?: $this->getHandler($status);

        if ($handler) {
            $param = ['result' => $this->result];
            $callable = $this->getResolver()->resolve($handler);
            if ($this->trigger(self::EVENT_BEFORE_HANDLER, $param)) {
                call_user_func($callable, $this->result);
                $this->trigger(self::EVENT_AFTER_HANDLER, $param);
            }
        }
        return false;
    }
protected function defaultHandler()/*# : bool */
    {
        $status = $this->result->getStatus();
        $handler = $this->result->getHandler() ?: $this->getHandler($status);

        if ($handler) {
            $param = ['result' => $this->result];
            $callable = $this->getResolver()->resolve($handler);
            if ($this->trigger(self::EVENT_BEFORE_HANDLER, $param)) {
                call_user_func($callable, $this->result);
                $this->trigger(self::EVENT_AFTER_HANDLER, $param);
            }
        }
        return false;
    }
protected function defaultHandler ( ) /*# : bool */ { $ status = $ this -> result -> getStatus ( ) ; $ handler = $ this -> result -> getHandler ( ) ? : $ this -> getHandler ( $ status ) ; if ( $ handler ) { $ param = [ 'result' => $ this -> result ] ; $ callable = $ this -> getResolver ( ) -> resolve ( $ handler ) ; if ( $ this -> trigger ( self :: EVENT_BEFORE_HANDLER , $ param ) ) { call_user_func ( $ callable , $ this -> result ) ; $ this -> trigger ( self :: EVENT_AFTER_HANDLER , $ param ) ; } } return false ; }
Execute dispatcher level handler

@return bool
@access protected
Execute dispatcher level handler