| 1 | <?php |
||
| 22 | trait DateTimeUpdatedAtTrait { |
||
| 23 | |||
| 24 | /** |
||
| 25 | * Updated at. |
||
| 26 | * |
||
| 27 | * @var DateTime|null |
||
| 28 | */ |
||
| 29 | protected $updatedAt; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Get the updated at. |
||
| 33 | * |
||
| 34 | * @return DateTime|null Returns the updated at. |
||
| 35 | */ |
||
| 36 | public function getUpdatedAt(): ?DateTime { |
||
| 39 | |||
| 40 | /** |
||
| 41 | * Set the updated at. |
||
| 42 | * |
||
| 43 | * @param DateTime|null $updatedAt The updated at. |
||
| 44 | * @return self Returns this instance. |
||
| 45 | */ |
||
| 46 | public function setUpdatedAt(?DateTime $updatedAt): self { |
||
| 50 | } |
||
| 51 |