5 use Symfony\Component\HttpFoundation\Response;
26 $this->command->write(
elgg_echo(
'cli:response:output') . PHP_EOL);
27 $this->command->write($json ? json_encode($json, JSON_PRETTY_PRINT) :
$content);
$content
Set robots.txt action.
Abstract command with some utility methods.
send(Response $response)
{}
__construct(protected Command $command)
ResponseTransport constructor.
HTTP response transport interface.
elgg_echo(string $message_key, array $args=[], string $language='')
Elgg language module Functions to manage language and translations.