/** * @return string */ public function getOutputFile() { if (!($outputFile = parent::getOutputFile())) { $outputFile = sys_get_temp_dir() . '/' . uniqid('phj_') . '.pdf'; $this->setOutputFile($outputFile); } return $outputFile; }