@@ -14,15 +14,15 @@ |
||
| 14 | 14 | */ |
| 15 | 15 | class RibsAdminExtension extends Extension |
| 16 | 16 | { |
| 17 | - /** |
|
| 18 | - * {@inheritdoc} |
|
| 19 | - */ |
|
| 20 | - public function load(array $configs, ContainerBuilder $container) |
|
| 21 | - { |
|
| 22 | - $configuration = new Configuration(); |
|
| 23 | - $this->processConfiguration($configuration, $configs); |
|
| 17 | + /** |
|
| 18 | + * {@inheritdoc} |
|
| 19 | + */ |
|
| 20 | + public function load(array $configs, ContainerBuilder $container) |
|
| 21 | + { |
|
| 22 | + $configuration = new Configuration(); |
|
| 23 | + $this->processConfiguration($configuration, $configs); |
|
| 24 | 24 | |
| 25 | - $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | - $loader->load('services.yml'); |
|
| 27 | - } |
|
| 25 | + $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 26 | + $loader->load('services.yml'); |
|
| 27 | + } |
|
| 28 | 28 | } |
@@ -12,18 +12,18 @@ |
||
| 12 | 12 | */ |
| 13 | 13 | class Configuration implements ConfigurationInterface |
| 14 | 14 | { |
| 15 | - /** |
|
| 16 | - * {@inheritdoc} |
|
| 17 | - */ |
|
| 18 | - public function getConfigTreeBuilder() |
|
| 19 | - { |
|
| 20 | - $treeBuilder = new TreeBuilder(); |
|
| 21 | - $treeBuilder->root('ribs_admin'); |
|
| 15 | + /** |
|
| 16 | + * {@inheritdoc} |
|
| 17 | + */ |
|
| 18 | + public function getConfigTreeBuilder() |
|
| 19 | + { |
|
| 20 | + $treeBuilder = new TreeBuilder(); |
|
| 21 | + $treeBuilder->root('ribs_admin'); |
|
| 22 | 22 | |
| 23 | - // Here you should define the parameters that are allowed to |
|
| 24 | - // configure your bundle. See the documentation linked above for |
|
| 25 | - // more information on that topic. |
|
| 23 | + // Here you should define the parameters that are allowed to |
|
| 24 | + // configure your bundle. See the documentation linked above for |
|
| 25 | + // more information on that topic. |
|
| 26 | 26 | |
| 27 | - return $treeBuilder; |
|
| 28 | - } |
|
| 27 | + return $treeBuilder; |
|
| 28 | + } |
|
| 29 | 29 | } |