1 | <?php |
||
14 | class Schedule |
||
15 | { |
||
16 | /** |
||
17 | * The start time for the Experiment |
||
18 | * @var string |
||
19 | */ |
||
20 | private $startTime; |
||
21 | |||
22 | /** |
||
23 | * The stop time for the Experiment |
||
24 | * @var string |
||
25 | */ |
||
26 | private $stopTime; |
||
27 | |||
28 | /** |
||
29 | * The time zone to use for Experiment start/stop times |
||
30 | * @var string |
||
31 | */ |
||
32 | private $timezone; |
||
33 | |||
34 | /** |
||
35 | * Constructor. |
||
36 | */ |
||
37 | 7 | public function __construct($options = array()) |
|
49 | |||
50 | /** |
||
51 | * Returns this object as array. |
||
52 | */ |
||
53 | 3 | public function toArray() |
|
70 | |||
71 | 4 | public function getStartTime() |
|
75 | |||
76 | 7 | public function setStartTime($startTime) |
|
80 | |||
81 | 3 | public function getStopTime() |
|
85 | |||
86 | 7 | public function setStopTime($stopTime) |
|
90 | |||
91 | 4 | public function getTimezone() |
|
95 | |||
96 | 6 | public function setTimezone($timezone) |
|
100 | } |
||
101 | |||
108 |
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.