20 $this->command = $command;
26 public function send(Response $response) {
29 $this->command->write(
"Response: " . PHP_EOL);
30 $this->command->dump($json ? $json :
$content);
send(Response $response)
{Sends HTTP response to the requester.Symfony Response bool}
HTTP response transport interface.
Abstract command with some utility methods.
$content
Set robots.txt action.
__construct(Command $command)
ResponseTransport constructor.