1234567891011121314151617181920212223242526272829 |
- <?php
- /*
- * AJGL Breakpoint Twig Extension Component
- *
- * Copyright (C) Antonio J. García Lagar <aj@garcialagar.es>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
- namespace Ajgl\Twig\Extension\SymfonyBundle\DependencyInjection;
- use Symfony\Component\Config\FileLocator;
- use Symfony\Component\DependencyInjection\ContainerBuilder;
- use Symfony\Component\DependencyInjection\Loader;
- use Symfony\Component\HttpKernel\DependencyInjection\Extension;
- /**
- * @author Antonio J. García Lagar <aj@garcialagar.es>
- */
- class AjglBreakpointTwigExtensionExtension extends Extension
- {
- public function load(array $config, ContainerBuilder $container)
- {
- $loader = new Loader\XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
- $loader->load('twig.xml');
- }
- }
|