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 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; }