src/Rottenwood/KingdomBundle/DependencyInjection/RottenwoodKingdomExtension.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
/** {@inheritDoc} */ |
| 11 |
|
class RottenwoodKingdomExtension extends Extension |
| 12 |
|
{ |
| 13 |
|
|
| 14 |
|
/** {@inheritDoc} */ |
| 15 |
|
public function load(array $configs, ContainerBuilder $container) |
| 16 |
|
{ |
| 17 |
|
$configuration = new Configuration(); |
| 18 |
|
$this->processConfiguration($configuration, $configs); |
| 19 |
|
|
| 20 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
| 21 |
|
$loader->load('services.yml'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|
src/Rottenwood/UserBundle/DependencyInjection/RottenwoodUserExtension.php 1 location
|
@@ 11-23 (lines=13) @@
|
| 8 |
|
use Symfony\Component\DependencyInjection\Loader; |
| 9 |
|
|
| 10 |
|
/** {@inheritDoc} */ |
| 11 |
|
class RottenwoodUserExtension extends Extension |
| 12 |
|
{ |
| 13 |
|
|
| 14 |
|
/** {@inheritDoc} */ |
| 15 |
|
public function load(array $configs, ContainerBuilder $container) |
| 16 |
|
{ |
| 17 |
|
$configuration = new Configuration(); |
| 18 |
|
$this->processConfiguration($configuration, $configs); |
| 19 |
|
|
| 20 |
|
$loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
| 21 |
|
$loader->load('services.yml'); |
| 22 |
|
} |
| 23 |
|
} |
| 24 |
|
|