| @@ 260-263 (lines=4) @@ | ||
| 257 | foreach ($groups as $groupKey => $group) { |
|
| 258 | if (is_int($groupKey)) { |
|
| 259 | foreach ($group as $subGroupKey => $subGroup) { |
|
| 260 | if (strpos($namespace, $subGroupKey) === 0) { |
|
| 261 | array_push($groups[$groupKey][$subGroupKey], $namespace); |
|
| 262 | continue 3; |
|
| 263 | } |
|
| 264 | } |
|
| 265 | } elseif (is_string($groupKey) && strpos($namespace, $groupKey) === 0) { |
|
| 266 | array_push($groups[$groupKey], $namespace); |
|
| @@ 265-268 (lines=4) @@ | ||
| 262 | continue 3; |
|
| 263 | } |
|
| 264 | } |
|
| 265 | } elseif (is_string($groupKey) && strpos($namespace, $groupKey) === 0) { |
|
| 266 | array_push($groups[$groupKey], $namespace); |
|
| 267 | continue 2; |
|
| 268 | } |
|
| 269 | } |
|
| 270 | array_push($groups['_main'], $namespace); |
|
| 271 | } |
|