public function generatePdf($config) { Processor::getInstance()->preparePdfGeneration($this->getId(), $config); }