Go to the documentation of this file.00001 <?php
00002
00003 namespace Etrali\GinangBundle\DependencyInjection;
00004
00005 use Symfony\Component\DependencyInjection\ContainerBuilder;
00006 use Symfony\Component\Config\FileLocator;
00007 use Symfony\Component\HttpKernel\DependencyInjection\Extension;
00008 use Symfony\Component\DependencyInjection\Loader;
00009
00010
00011
00012
00013
00014
00015 class EtraliGinangExtension extends Extension
00016 {
00017
00018
00019
00020 public function load(array $configs, ContainerBuilder $container)
00021 {
00022 $configuration = new Configuration();
00023 $config = $this->processConfiguration($configuration, $configs);
00024
00025 $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
00026 $loader->load('services.xml');
00027 }
00028 }