Beispiel #1
0
 function httpRouteHasRequestWithMethod(http\route $route, http\request $request, self $httpMethod)
 {
     $httpMethod->ifEqualToString($this, function () use($route, $request) {
         $route->httpMethodMatchRequest($request);
     });
     return $this;
 }
Beispiel #2
0
 function httpRouteHasRequestWithMethod(route $route, request $request, method $method)
 {
     $route->httpMethodMatchRequest($request);
     return $this;
 }