1 | <?php |
||
5 | class Time extends DateTime |
||
6 | { |
||
7 | /** |
||
8 | * Make a new instance of a field. |
||
9 | * |
||
10 | * @param string $name |
||
11 | * @param string $label |
||
12 | * @return Field|Time |
||
13 | */ |
||
14 | public static function make($name, $label = '') |
||
18 | |||
19 | /** |
||
20 | * Set format to military time (24 hrs). |
||
21 | * |
||
22 | * @return Field|Time |
||
23 | */ |
||
24 | public function military() |
||
28 | } |
||
29 |