public function render($results, Command $command) { $output = $this->getOutput(); $output->writeLn(json_encode(array('results' => $results))); }