コード例 #1
0
ファイル: uri.php プロジェクト: estvoyage/risingsun
 function httpRouteHasRequestUri(route $route, self $requestUri)
 {
     $requestUri->ifStartWithRequestUri($this, function () use($route) {
         $route->httpRequestUriHasRequestDataAggregator($this, new request\data\aggregator\blackhole());
     });
     return $this;
 }
コード例 #2
0
ファイル: method.php プロジェクト: estvoyage/risingsun
 function httpRouteHasRequestWithMethod(http\route $route, http\request $request, self $httpMethod)
 {
     $httpMethod->ifEqualToString($this, function () use($route, $request) {
         $route->httpMethodMatchRequest($request);
     });
     return $this;
 }
コード例 #3
0
ファイル: indexed.php プロジェクト: estvoyage/risingsun
 function httpRouteForRequestIs(request $request, route $route)
 {
     $route->httpRouteControllerHasRequest($this->controller, $request);
     $this->routeAggregator = new route\aggregator\blackhole();
     return $this;
 }
コード例 #4
0
ファイル: anyThing.php プロジェクト: estvoyage/risingsun
 function httpRouteHasRequestUri(route $route, request\uri $requestUri)
 {
     $route->httpRequestUriHasRequestDataAggregator($requestUri, new request\data\aggregator\blackhole());
     return $this;
 }
コード例 #5
0
ファイル: any.php プロジェクト: estvoyage/risingsun
 function httpRouteHasRequestWithMethod(route $route, request $request, method $method)
 {
     $route->httpMethodMatchRequest($request);
     return $this;
 }