1 | <?php |
||
10 | abstract class RuleBase implements RuleInterface |
||
11 | { |
||
12 | /** |
||
13 | * @var int |
||
14 | */ |
||
15 | private $start = -1; |
||
16 | |||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | private $end = -1; |
||
21 | |||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | private $seconds = 0; |
||
26 | |||
27 | /** |
||
28 | * @return int |
||
29 | */ |
||
30 | 27 | public function getStart() |
|
34 | |||
35 | /** |
||
36 | * @param int $start |
||
37 | * |
||
38 | * @return RuleBase |
||
39 | */ |
||
40 | 33 | public function setStart($start) |
|
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | 24 | public function getEnd() |
|
54 | |||
55 | /** |
||
56 | * @param int $end |
||
57 | * |
||
58 | * @return RuleBase |
||
59 | */ |
||
60 | 33 | public function setEnd($end) |
|
66 | |||
67 | /** |
||
68 | * @return int |
||
69 | */ |
||
70 | 6 | public function getSeconds() |
|
74 | |||
75 | /** |
||
76 | * @param int $seconds |
||
77 | * |
||
78 | * @return RuleBase |
||
79 | */ |
||
80 | 9 | public function setSeconds($seconds) |
|
86 | } |
||
87 |