Conditions | 4 |
Paths | 4 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 2 |
CRAP Score | 4 |
Changes | 0 |
1 | <?php |
||
15 | public function start($matchedRoute) |
||
16 | { |
||
17 | $output = []; |
||
18 | foreach ($this->all as $routeInfo => $callBacks) { |
||
19 | foreach ($matchedRoute as $info) { |
||
20 | if (Str::is($routeInfo, $info)) { |
||
21 | $output[] = $this->wrapCallbacksForIgnore($callBacks); |
||
22 | } |
||
23 | 54 | } |
|
24 | } |
||
25 | 54 | return $output; |
|
26 | 54 | } |
|
72 |