/** * Returns the creation date of the content. * * @return DateTime * @codeCoverageIgnore */ public function getCreated() { return null !== $this->getDraft() ? $this->getDraft()->getCreated() : parent::getCreated(); }