function httpRequestHasEndpoint(http\request $request, endpoint $endpoint) { $this->request->recipientOfHttpRequestDataAggregatorIs($this); $request->recipientOfHttpRequestDataAggregatorIs($this); $this->controller->httpRequestHasEndpoint($this->request->httpRequestDataAggregatorIs($this->requestDataAggregator), $endpoint); $this->controller = new controller\blackhole(); return $this; }
function recipientOfMergeOfHttpRequestsIs(http\request $a, http\request $b, http\request\merged\recipient $recipient) { $merger = clone $this; $merger->request = $a; $b->recipientOfHttpRequestDataIs($merger); $recipient->mergedHttpRequestIs($merger->request); return $this; }
function httpRouteIndexerControllerHasRequest(http\route\indexer\controller $controller, http\request $request) { $indexer = clone $this; $indexer->request = $request; $indexer->controller = $controller; $request->recipientOfHttpRequestUriIs($indexer); return $this; }
function outputOfHttpRequestIs(http\request $request, output $output) { $formater = clone $this; $formater->output = $output; $formater->noDataAggregatorFormater = $formater->defaultDataAggregatorFormater; $request->recipientOfHttpRequestDataAggregatorIs($formater); $formater->noDataAggregatorFormater->outputIs($formater->output); return $this; }
function outputOfHttpRequestIs(request $request, output $output) { $formater = clone $this; $formater->output = $output; $formater->noRequestLineFormater = $formater->defaultRequestLineFormater; $request->recipientOfHttpRequestLineIs($formater); $formater->noRequestLineFormater->outputIs($formater->output); $formater->output->endOfLine(); return $this; }
function outputOfHttpRequestIs(request $request, output $output) { $formater = clone $this; $formater->output = $output; $formater->noHeaderAggregatorFormater = $formater->defaultHeaderAggregatorFormater; $request->recipientOfHttpHeaderAggregatorIs($formater); $formater->noHeaderAggregatorFormater->outputIs($formater->output); $formater->output->endOfLine(); $formater->output->endOfLine(); return $this; }
function httpRouteHasRequest(route $route, request $request) { $request->httpRouteHasUri($route, $this); return $this; }
function httpRouteHasRequest(http\route $route, http\request $request) { $request->httpRouteHasMethod($route, $this); return $this; }