| @@ 221-226 (lines=6) @@ | ||
| 218 | $config[$k] = $v; |
|
| 219 | } |
|
| 220 | break; |
|
| 221 | case ConfigDefinition::GROUP_COMPONENTS: |
|
| 222 | if (!array_key_exists('components', $config)) { |
|
| 223 | $config['components'] = []; |
|
| 224 | } |
|
| 225 | $config['components'][$definition->getKey()] = $definition->getConfig(); |
|
| 226 | break; |
|
| 227 | case ConfigDefinition::GROUP_MODULES: |
|
| 228 | if (!array_key_exists('modules', $config)) { |
|
| 229 | $config['modules'] = []; |
|
| @@ 227-232 (lines=6) @@ | ||
| 224 | } |
|
| 225 | $config['components'][$definition->getKey()] = $definition->getConfig(); |
|
| 226 | break; |
|
| 227 | case ConfigDefinition::GROUP_MODULES: |
|
| 228 | if (!array_key_exists('modules', $config)) { |
|
| 229 | $config['modules'] = []; |
|
| 230 | } |
|
| 231 | $config['modules'][$definition->getKey()] = $definition->getConfig(); |
|
| 232 | break; |
|
| 233 | } |
|
| 234 | } |
|
| 235 | } |
|