first commit

This commit is contained in:
Tim
2019-05-23 17:04:48 +02:00
committed by Tim van Veenendaal
commit 301862589b
8 changed files with 266 additions and 0 deletions

View File

@ -0,0 +1,20 @@
<?php
namespace App\Ardent\ParameterBundle\DependencyInjection;
use Symfony\Component\Config\FileLocator;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\Extension\Extension;
use Symfony\Component\DependencyInjection\Loader\YamlFileLoader;
class ArdentParameterExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
{
$loader = new YamlFileLoader(
$container,
new FileLocator(__DIR__.'/../Resources/config')
);
$loader->load('services.yaml');
}
}