1 | <?php |
||
11 | trait HourlyIntervalRuleTrait |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | private $start = -1; |
||
17 | |||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | private $end = -1; |
||
22 | |||
23 | /** |
||
24 | * @param int $start |
||
25 | */ |
||
26 | 34 | protected function setStart($start) |
|
30 | |||
31 | /** |
||
32 | * @param int $end |
||
33 | */ |
||
34 | 34 | protected function setEnd($end) |
|
38 | |||
39 | /** |
||
40 | * @return int |
||
41 | */ |
||
42 | 34 | public function start() |
|
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | 34 | public function end() |
|
54 | } |
||
55 |