src/Dispatcher/ClassAutoBind.php
public function dispatchNotFound()
    {
        if (isset($this->notFoundHandler)) {
            $notFoundHandler = $this->notFoundHandler;
            $controllerName  = implode(
                '\\',
                [
                    $this->baseNamespace,
                    $this->controllerName,
                    $notFoundHandler['controler']
                ]
            );

            $controllerInstance = new $controllerName();

            return call_user_func(
                [
                    $controllerInstance,
                    $this->actionName.$notFoundHandler['action']
                ]
            );
        }

        return null;
    }
public function dispatchNotFound()
    {
        if (isset($this->notFoundHandler)) {
            $notFoundHandler = $this->notFoundHandler;
            $controllerName  = implode(
                '\\',
                [
                    $this->baseNamespace,
                    $this->controllerName,
                    $notFoundHandler['controler']
                ]
            );

            $controllerInstance = new $controllerName();

            return call_user_func(
                [
                    $controllerInstance,
                    $this->actionName.$notFoundHandler['action']
                ]
            );
        }

        return null;
    }
public function dispatchNotFound ( ) { if ( isset ( $ this -> notFoundHandler ) ) { $ notFoundHandler = $ this -> notFoundHandler ; $ controllerName = implode ( '\\' , [ $ this -> baseNamespace , $ this -> controllerName , $ notFoundHandler [ 'controler' ] ] ) ; $ controllerInstance = new $ controllerName ( ) ; return call_user_func ( [ $ controllerInstance , $ this -> actionName . $ notFoundHandler [ 'action' ] ] ) ; } return null ; }
Called if any of route did not match the request.

@return mixed
Called if any of route did not match the request .