private function route() : void
    {
        // Parse route
        $parsed = $this->parseRoute();

        // Run error controller when no route matched
        if (!$parsed && isset($this->error_controller)) {
            call_user_func($this->error_controller);
        }
    }
private function route() : void
    {
        // Parse route
        $parsed = $this->parseRoute();

        // Run error controller when no route matched
        if (!$parsed && isset($this->error_controller)) {
            call_user_func($this->error_controller);
        }
    }
private function route ( ) : void { // Parse route $ parsed = $ this -> parseRoute ( ) ; // Run error controller when no route matched if ( ! $ parsed && isset ( $ this -> error_controller ) ) { call_user_func ( $ this -> error_controller ) ; } }
Try to parse routes or call the error controller

@return void
Try to parse routes or call the error controller