function httpRouteHasRequestWithMethod(http\route $route, http\request $request, self $httpMethod) { $httpMethod->ifEqualToString($this, function () use($route, $request) { $route->httpMethodMatchRequest($request); }); return $this; }
function __construct() { parent::__construct('POST'); }
function __construct() { parent::__construct('GET'); }