]> Raphaƫl G. Git Repositories - treebundle/blobdiff - DependencyInjection/RapsysTreeExtension.php
Add count, page member variables
[treebundle] / DependencyInjection / RapsysTreeExtension.php
index 09fcb90b165e30d345d26b934fef965e6b558491..22e78261f4db719436423056c49f2ce34785051b 100644 (file)
@@ -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);
                }