Total Complexity | 5 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
5 | class QueryStringKeyWrapper extends Base |
||
6 | { |
||
7 | |||
8 | private $queryArray = []; |
||
9 | |||
10 | public function process() |
||
11 | { |
||
12 | $this->initWrapper($this->setLocalName()); |
||
13 | |||
14 | $this->getQueryString(); |
||
15 | |||
16 | list($key) = array_pad(explode('|', $this->getReference()), 1, null); |
||
17 | |||
18 | if (isset($this->queryArray[$key])) { |
||
19 | $this->setScore($this->getRealScore()); |
||
20 | } |
||
21 | $this->setResult(); |
||
22 | } |
||
23 | |||
24 | private function setLocalName() |
||
28 | } |
||
29 | |||
30 | private function getQueryString() |
||
34 | } |
||
35 | } |
||
37 | } |