Total Complexity | 6 |
Total Lines | 75 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
11 | class Qos extends AbstractOptions |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | protected $prefetchSize = 0; |
||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | protected $prefetchCount = 0; |
||
21 | /** |
||
22 | * @var bool |
||
23 | */ |
||
24 | protected $global = false; |
||
25 | |||
26 | /** |
||
27 | * @return int |
||
28 | */ |
||
29 | 3 | public function getPrefetchSize() |
|
33 | |||
34 | /** |
||
35 | * @param int $prefetchSize |
||
36 | * |
||
37 | * @return $this |
||
38 | */ |
||
39 | 5 | public function setPrefetchSize($prefetchSize) |
|
45 | |||
46 | /** |
||
47 | * @return int |
||
48 | */ |
||
49 | 3 | public function getPrefetchCount() |
|
53 | |||
54 | /** |
||
55 | * @param int $prefetchCount |
||
56 | * |
||
57 | * @return $this |
||
58 | */ |
||
59 | 5 | public function setPrefetchCount($prefetchCount) |
|
65 | |||
66 | /** |
||
67 | * @return bool |
||
68 | */ |
||
69 | 1 | public function isGlobal() |
|
73 | |||
74 | /** |
||
75 | * @param bool $global |
||
76 | * |
||
77 | * @return $this |
||
78 | */ |
||
79 | 1 | public function setGlobal($global) |
|
85 | } |
||
86 |