Conditions | 3 |
Paths | 3 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
26 | private function parseItem(array $item) { |
||
27 | |||
28 | $data = Arr::select($item, ['path', 'handler']); |
||
29 | |||
30 | if (false === ($path = $this->parseString($data['path'], REGEX_MAP_ITEM_PATH))) return; |
||
31 | |||
32 | if (false === ($handler = $this->parseString($data['handler'], REGEX_MAP_ITEM_HANDLER))) return; |
||
33 | |||
34 | $this->map[] = ['path' => $path, 'handler' => implode('\\', $handler)]; |
||
35 | } |
||
36 | |||
58 |