PartKeeprCronLoggerExtension.php (602B)
1 <?php 2 3 namespace PartKeepr\CronLoggerBundle\DependencyInjection; 4 5 use Symfony\Component\Config\FileLocator; 6 use Symfony\Component\DependencyInjection\ContainerBuilder; 7 use Symfony\Component\DependencyInjection\Extension\Extension; 8 use Symfony\Component\DependencyInjection\Loader; 9 10 class PartKeeprCronLoggerExtension extends Extension 11 { 12 /** 13 * {@inheritdoc} 14 */ 15 public function load(array $configs, ContainerBuilder $container) 16 { 17 $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); 18 $loader->load('services.xml'); 19 } 20 }