/** * Render the table and pass the output back. * This is done this way because the table * helper dumps everything to the output and * there is no way to catch so have to override * with a special output. * * @param Command $command * @return void */ public function __construct(Command $command) { $this->table = $command->getHelperSet()->get('table'); $this->table->setCellHeaderFormat('<pop>%s</pop>'); $this->output = new CatchOutput(); }