protected outputJson ( Symfony\Component\Console\Output\OutputInterface $output, mixed $data ) | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$data | mixed |
protected function outputJson(OutputInterface $output, $data)
{
$json = json_encode($data, JSON_UNESCAPED_SLASHES | JSON_PRETTY_PRINT | JSON_UNESCAPED_UNICODE);
$output->write($json);
}