src/Dispatcher/ClassAutoBind.php 1 location
|
@@ 321-327 (lines=7) @@
|
318 |
|
$parameters = array_values($parameters); |
319 |
|
$matches = array_values($matches); |
320 |
|
|
321 |
|
foreach ($parameters as $key => $valueName) { |
322 |
|
foreach ($paramMap as $possition => $value) { |
323 |
|
if ($value == $valueName[1][0]) { |
324 |
|
$output[] = $matches[$possition]; |
325 |
|
} |
326 |
|
} |
327 |
|
} |
328 |
|
} |
329 |
|
|
330 |
|
return $output; |
src/Dispatcher/ClosureAutoBind.php 1 location
|
@@ 125-131 (lines=7) @@
|
122 |
|
$output = []; |
123 |
|
$matches = array_values($matches); |
124 |
|
|
125 |
|
foreach ($parameters as $valueName) { |
126 |
|
foreach ($paramMap as $possition => $value) { |
127 |
|
if ($value == $valueName[1][0]) { |
128 |
|
$output[] = $matches[$possition]; |
129 |
|
} |
130 |
|
} |
131 |
|
} |
132 |
|
|
133 |
|
return $output; |
134 |
|
} |