private function getBufferedOutput() { if ($this->isAjax() === true) { return new BufferedOutput(BufferedOutput::VERBOSITY_NORMAL, true, new OutputFormatter(true)); } return new BufferedOutput(); }