Elgg  Version master
OutputBufferTransport.php
Go to the documentation of this file.
1 <?php
2 
3 namespace Elgg\Http;
4 
5 use Symfony\Component\HttpFoundation\Response as SymfonyResponse;
6 
14 
18  public function send(SymfonyResponse $response) {
19  echo $response->getContent();
20  return true;
21  }
22 }
Transport for sending responses to non-HTTP clients, e.g.
send(SymfonyResponse $response)
{Sends HTTP response to the requester.Symfony Responsebool}
HTTP response transport interface.
$response
Definition: content.php:10