public function getGeneratedAt() { return $this->generatedAt; }
/** * @return bool */ public function checkExistingUpdatedPdf() { if ($this->post->getIsPdfGenerated() === true && $this->post->getGeneratedAt() > $this->post->getUpdatedAt()) { return true; } return false; }