- <?php
-
- namespace Lc\ShopBundle\Model;
-
- use Doctrine\ORM\Mapping as ORM;
- use Lc\ShopBundle\Model\AbstractDocumentEntity;
- use Gedmo\Mapping\Annotation as Gedmo;
-
-
- abstract class News extends AbstractDocumentEntity
- {
-
-
- protected $date;
-
- public function getDate(): ?\DateTimeInterface
- {
- return $this->date;
- }
-
- public function setDate(\DateTimeInterface $date): self
- {
- $this->date = $date;
-
- return $this;
- }
- }
|