@@ -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,13 +12,11 @@ |
||
12 | 12 | * |
13 | 13 | * @link http://symfony.com/doc/current/cookbook/bundles/extension.html |
14 | 14 | */ |
15 | -class RibsAdminExtension extends Extension |
|
16 | -{ |
|
15 | +class RibsAdminExtension extends Extension { |
|
17 | 16 | /** |
18 | 17 | * {@inheritdoc} |
19 | 18 | */ |
20 | - public function load(array $configs, ContainerBuilder $container) |
|
21 | - { |
|
19 | + public function load(array $configs, ContainerBuilder $container) { |
|
22 | 20 | $configuration = new Configuration(); |
23 | 21 | $this->processConfiguration($configuration, $configs); |
24 | 22 |
@@ -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 | } |
@@ -10,13 +10,11 @@ |
||
10 | 10 | * |
11 | 11 | * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/configuration.html} |
12 | 12 | */ |
13 | -class Configuration implements ConfigurationInterface |
|
14 | -{ |
|
13 | +class Configuration implements ConfigurationInterface { |
|
15 | 14 | /** |
16 | 15 | * {@inheritdoc} |
17 | 16 | */ |
18 | - public function getConfigTreeBuilder() |
|
19 | - { |
|
17 | + public function getConfigTreeBuilder() { |
|
20 | 18 | $treeBuilder = new TreeBuilder(); |
21 | 19 | $treeBuilder->root('ribs_admin'); |
22 | 20 |