src/Phossa2/Route/Dispatcher.php
protected function executeHandler()/*# : bool */
    {
        try {
            $handler = $this->result->getHandler();
            $callable = $this->getResolver()->resolve($handler);

            if ($this->result->getRoute()) {
                return $this->callableWithRoute($callable);
            } else {
                call_user_func($callable, $this->result);
                return true;
            }
        } catch (\Exception $e) {
            $this->result->setHandler(null);
            return false;
        }
    }
protected function executeHandler()/*# : bool */
    {
        try {
            $handler = $this->result->getHandler();
            $callable = $this->getResolver()->resolve($handler);

            if ($this->result->getRoute()) {
                return $this->callableWithRoute($callable);
            } else {
                call_user_func($callable, $this->result);
                return true;
            }
        } catch (\Exception $e) {
            $this->result->setHandler(null);
            return false;
        }
    }
protected function executeHandler ( ) /*# : bool */ { try { $ handler = $ this -> result -> getHandler ( ) ; $ callable = $ this -> getResolver ( ) -> resolve ( $ handler ) ; if ( $ this -> result -> getRoute ( ) ) { return $ this -> callableWithRoute ( $ callable ) ; } else { call_user_func ( $ callable , $ this -> result ) ; return true ; } } catch ( \ Exception $ e ) { $ this -> result -> setHandler ( null ) ; return false ; } }
Execute handler of the result

IF HANDLER NOT EXECUTED, REMOVE IT !!

@return bool true if handler executed
@access protected
Execute handler of the result