Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
3 / 3 |
| FrontExtension | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
| load | |
100.00% |
1 / 1 |
1 | |
100.00% |
3 / 3 |
|||
| <?php | |
| /* | |
| * This file is part of the Incipio package. | |
| * | |
| * (c) Théo FIDRY <theo.fidry@gmail.com> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ | |
| namespace FrontBundle\DependencyInjection; | |
| use Symfony\Component\Config\FileLocator; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\DependencyInjection\Loader; | |
| use Symfony\Component\HttpKernel\DependencyInjection\Extension; | |
| /** | |
| * This is the class that loads and manages your bundle configuration. | |
| * To learn more see {@link http://symfony.com/doc/current/cookbook/bundles/extension.html}. | |
| * | |
| * @author Théo FIDRY <theo.fidry@gmail.com> | |
| */ | |
| class FrontExtension extends Extension | |
| { | |
| /** | |
| * {@inheritdoc} | |
| */ | |
| public function load(array $configs, ContainerBuilder $container) | |
| { | |
| $loader = new Loader\YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | |
| $loader->load('services.yml'); | |
| } | |
| } |