Seditio Source
Root |
./othercms/croogo-4.0.7/vendor/ajgl/breakpoint-twig-extension/src/SymfonyBundle/DependencyInjection/AjglBreakpointTwigExtensionExtension.php
<?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');
    }
}