//Store flattened array in parameters
//XXX: don't flatten rapsystree.site.png key which is required to be an array
- foreach($this->flatten($config, $alias, 10, '.', ['rapsystree.copy', 'rapsystree.icon', 'rapsystree.icon.png', 'rapsystree.logo', 'rapsystree.facebook.apps', 'rapsystree.locales', 'rapsystree.languages']) as $k => $v) {
+ foreach(
+ $this->flatten(
+ $config, $alias, 10, '.', [
+ 'rapsystree.copy',
+ 'rapsystree.icon',
+ 'rapsystree.icon.png',
+ 'rapsystree.logo',
+ 'rapsystree.facebook.apps',
+ 'rapsystree.locales',
+ 'rapsystree.languages',
+ 'rapsystree.roots'
+ ]
+ ) as $k => $v
+ ) {
$container->setParameter($k, $v);
}