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