function httpRouteHasRequestUri(route $route, self $requestUri) { $requestUri->ifStartWithRequestUri($this, function () use($route) { $route->httpRequestUriHasRequestDataAggregator($this, new request\data\aggregator\blackhole()); }); return $this; }
function httpRouteHasRequestWithMethod(http\route $route, http\request $request, self $httpMethod) { $httpMethod->ifEqualToString($this, function () use($route, $request) { $route->httpMethodMatchRequest($request); }); return $this; }
function httpRouteForRequestIs(request $request, route $route) { $route->httpRouteControllerHasRequest($this->controller, $request); $this->routeAggregator = new route\aggregator\blackhole(); return $this; }
function httpRouteHasRequestUri(route $route, request\uri $requestUri) { $route->httpRequestUriHasRequestDataAggregator($requestUri, new request\data\aggregator\blackhole()); return $this; }
function httpRouteHasRequestWithMethod(route $route, request $request, method $method) { $route->httpMethodMatchRequest($request); return $this; }