| 1 | <?php |
||
| 9 | trait EntityTimestampableTrait |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * @ORM\Column(type="datetime", nullable=true, options={"default"="CURRENT_TIMESTAMP"}) |
||
| 13 | */ |
||
| 14 | private $createdAt; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @ORM\Column(type="datetime", nullable=true, options={"default"="CURRENT_TIMESTAMP"}) |
||
| 18 | */ |
||
| 19 | private $updatedAt; |
||
| 20 | |||
| 21 | public function getCreatedAt(): ?\DateTimeInterface |
||
| 25 | |||
| 26 | public function setCreatedAt(?\DateTimeInterface $createdAt): self |
||
| 32 | |||
| 33 | public function getUpdatedAt(): ?\DateTimeInterface |
||
| 37 | |||
| 38 | public function setUpdatedAt(?\DateTimeInterface $updatedAt): self |
||
| 44 | } |
||
| 45 |