1 | <?php |
||
18 | class CarbonDateTime |
||
19 | { |
||
20 | /** |
||
21 | * @param string $value |
||
22 | * @return \DateTimeInterface |
||
23 | * @throws InvalidDateTimeFormat |
||
24 | */ |
||
25 | public function fromString(string $value): \DateTimeInterface |
||
38 | |||
39 | /** |
||
40 | * @param mixed $value |
||
41 | * @return \DateTimeInterface|null |
||
42 | * @throws InvalidDateTimeFormat |
||
43 | * @throws \InvalidArgumentException |
||
44 | */ |
||
45 | public function verify($value): ?\DateTimeInterface |
||
58 | } |
||
59 |