Total Complexity | 7 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | class SearchQuery_Range |
||
12 | { |
||
13 | public $start = null; |
||
14 | public $end = null; |
||
15 | |||
16 | public function __construct($start = null, $end = null) |
||
17 | { |
||
18 | $this->start = $start; |
||
19 | $this->end = $end; |
||
20 | } |
||
21 | |||
22 | public function setStart($start) |
||
26 | } |
||
27 | |||
28 | public function setEnd($end) |
||
29 | { |
||
30 | $this->end = $end; |
||
31 | return $this; |
||
32 | } |
||
33 | |||
34 | public function isFiltered() |
||
37 | } |
||
38 | |||
39 | /** |
||
40 | * @deprecated |
||
41 | * @codeCoverageIgnore |
||
42 | */ |
||
43 | public function start($start) |
||
44 | { |
||
45 | Deprecation::notice('4.0', 'Use setStart() instead'); |
||
46 | return $this->setStart($start); |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @deprecated |
||
51 | * @codeCoverageIgnore |
||
52 | */ |
||
53 | public function end($end) |
||
57 | } |
||
58 | } |
||
59 |