Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
24 | protected function resolverHasParameter(SiteAccess $siteAccess, string $paramName, string $namespace): bool |
||
25 | { |
||
26 | foreach ($siteAccess->groups as $group) { |
||
27 | $groupScopeParamName = $this->resolveScopeRelativeParamName($paramName, $namespace, $group->getName()); |
||
28 | if ($this->container->hasParameter($groupScopeParamName)) { |
||
29 | return true; |
||
30 | } |
||
31 | } |
||
32 | |||
33 | return false; |
||
34 | } |
||
35 | |||
52 |