private function executeRoute(Route &$route, $method, $force = false)
    {
        $continue = true;
        if (! $force) {
            $continue = $this->executeRouteMiddleware($route, 'before', $method);
        }

        if ($continue === true) {
            $route->execute($this->compiled);
        }

        if (! $force) {
            $this->executeRouteMiddleware($route, 'after', $method);
        }
    }
private function executeRoute(Route &$route, $method, $force = false)
    {
        $continue = true;
        if (! $force) {
            $continue = $this->executeRouteMiddleware($route, 'before', $method);
        }

        if ($continue === true) {
            $route->execute($this->compiled);
        }

        if (! $force) {
            $this->executeRouteMiddleware($route, 'after', $method);
        }
    }
private function executeRoute ( Route & $ route , $ method , $ force = false ) { $ continue = true ; if ( ! $ force ) { $ continue = $ this -> executeRouteMiddleware ( $ route , 'before' , $ method ) ; } if ( $ continue === true ) { $ route -> execute ( $ this -> compiled ) ; } if ( ! $ force ) { $ this -> executeRouteMiddleware ( $ route , 'after' , $ method ) ; } }
Will try to match parameters and execute the callback.
Will also trigger middleware.

@param Route $route

@param string $method Method of request.

@param bool $force true for skipping middleware. Could be bad to do!
Will try to match parameters and execute the callback . Will also trigger middleware .