Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }