1 | <?php |
||
34 | class TimeFactory implements ITimeFactory { |
||
35 | |||
36 | |||
37 | /** |
||
38 | * @return int the result of a call to time() |
||
39 | */ |
||
40 | public function getTime(): int { |
||
43 | |||
44 | /** |
||
45 | * @param string $time |
||
46 | * @param \DateTimeZone $timezone |
||
47 | * @return \DateTime |
||
48 | * @since 15.0.0 |
||
49 | */ |
||
50 | public function getDateTime(string $time = 'now', \DateTimeZone $timezone = null): \DateTime { |
||
53 | |||
54 | } |
||
55 |