Ouzo\Routing\Router::findRouteRule PHP Méthode

findRouteRule() private méthode

private findRouteRule ( $path, $requestType ) : RouteRule
$path
$requestType
Résultat RouteRule
    private function findRouteRule($path, $requestType)
    {
        return Arrays::find(Route::getRoutes(), function (RouteRule $rule) use($path, $requestType) {
            return $rule->matches($path, $requestType);
        });
    }