1 | <?php |
||
12 | class Schedule |
||
13 | { |
||
14 | /** |
||
15 | * The start time for the Experiment |
||
16 | * @var string |
||
17 | */ |
||
18 | private $startTime; |
||
19 | |||
20 | /** |
||
21 | * The stop time for the Experiment |
||
22 | * @var string |
||
23 | */ |
||
24 | private $stopTime; |
||
25 | |||
26 | /** |
||
27 | * The time zone to use for Experiment start/stop times |
||
28 | * @var string |
||
29 | */ |
||
30 | private $timezone; |
||
31 | |||
32 | /** |
||
33 | * Constructor. |
||
34 | */ |
||
35 | 7 | public function __construct($options = array()) |
|
47 | |||
48 | /** |
||
49 | * Returns this object as array. |
||
50 | */ |
||
51 | 3 | public function toArray() |
|
68 | |||
69 | 4 | public function getStartTime() |
|
73 | |||
74 | 7 | public function setStartTime($startTime) |
|
78 | |||
79 | 3 | public function getStopTime() |
|
83 | |||
84 | 7 | public function setStopTime($stopTime) |
|
88 | |||
89 | 4 | public function getTimezone() |
|
93 | |||
94 | 6 | public function setTimezone($timezone) |
|
98 | } |
||
99 | |||
106 |
According to the PSR-2, the body of a case statement must start on the line immediately following the case statement.
}
To learn more about the PSR-2 coding standard, please refer to the PHP-Fig.