@@ 18-32 (lines=15) @@ | ||
15 | /** |
|
16 | * This is the class that loads and manages the bundle configuration. |
|
17 | */ |
|
18 | class BCRMBackendExtension extends Extension |
|
19 | { |
|
20 | /** |
|
21 | * {@inheritDoc} |
|
22 | */ |
|
23 | public function load(array $configs, ContainerBuilder $container) |
|
24 | { |
|
25 | $configuration = new Configuration(); |
|
26 | $config = $this->processConfiguration($configuration, $configs); |
|
27 | ||
28 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
29 | $loader->load('services.xml'); |
|
30 | $loader->load('persistence.xml'); |
|
31 | } |
|
32 | } |
|
33 |
@@ 18-32 (lines=15) @@ | ||
15 | /** |
|
16 | * This is the class that loads and manages the bundle configuration. |
|
17 | */ |
|
18 | class BCRMPrintExtension extends Extension |
|
19 | { |
|
20 | /** |
|
21 | * {@inheritDoc} |
|
22 | */ |
|
23 | public function load(array $configs, ContainerBuilder $container) |
|
24 | { |
|
25 | $configuration = new Configuration(); |
|
26 | $config = $this->processConfiguration($configuration, $configs); |
|
27 | ||
28 | $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
29 | $loader->load('controllers.xml'); |
|
30 | $loader->load('services.xml'); |
|
31 | } |
|
32 | } |
|
33 |