X-Git-Url: https://git.rapsys.eu/treebundle/blobdiff_plain/1ccb85cd75086f5ce53735e293714bc2fcf155d4..bb2fb7edb4c101880e4b7f5162a87c6b501a8286:/DependencyInjection/RapsysTreeExtension.php?ds=inline diff --git a/DependencyInjection/RapsysTreeExtension.php b/DependencyInjection/RapsysTreeExtension.php index 09fcb90..22e7826 100644 --- a/DependencyInjection/RapsysTreeExtension.php +++ b/DependencyInjection/RapsysTreeExtension.php @@ -52,7 +52,19 @@ class RapsysTreeExtension extends Extension implements PrependExtensionInterface //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', + ] + ) as $k => $v + ) { $container->setParameter($k, $v); }