@@ -31,7 +31,7 @@ public function load(array $configs, ContainerBuilder $container)
31
31
$ container ->setParameter ('avanzu_admin_theme.options ' , (array ) $ config ['options ' ]);
32
32
33
33
// Load the services (with parameters loaded), since twig require theme_manager service
34
- try
34
+ try
35
35
{
36
36
$ loader = new Loader \XmlFileLoader ($ container , new FileLocator (__DIR__ . '/../Resources/config ' ));
37
37
$ loader ->load ('services.xml ' );
@@ -53,12 +53,12 @@ public function prepend(ContainerBuilder $container)
53
53
// Load the configuration from files
54
54
$ configs = $ container ->getExtensionConfig ($ this ->getAlias ());
55
55
$ config = $ this ->processConfiguration (new Configuration (), $ configs );
56
-
56
+
57
57
// Set the parameters from config files
58
58
$ container ->setParameter ('avanzu_admin_theme.bower_bin ' , (string ) $ config ['bower_bin ' ]);
59
59
$ container ->setParameter ('avanzu_admin_theme.use_twig ' , (bool ) $ config ['use_twig ' ]);
60
60
$ container ->setParameter ('avanzu_admin_theme.options ' , (array ) $ config ['options ' ]);
61
-
61
+
62
62
// Load the services (with parameters loaded), since twig require theme_manager service
63
63
try
64
64
{
@@ -70,7 +70,7 @@ public function prepend(ContainerBuilder $container)
70
70
$ loader = new Loader \YamlFileLoader ($ container , new FileLocator (__DIR__ . '/../Resources/config ' ));
71
71
$ loader ->load ('services.yml ' );
72
72
}
73
-
73
+
74
74
$ bundles = $ container ->getParameter ('kernel.bundles ' );
75
75
76
76
// Inject in twig global config the theme_manager service
0 commit comments