| Code Coverage
| Classes and Traits | Functions and Methods | Lines
Total |  | 0.00% | 0 / 1 |  | 0.00% | 0 / 2 | CRAP |  | 0.00% | 0 / 9
BodyRepExtension |  | 0.00% | 0 / 1 |  | 0.00% | 0 / 2 | 6 |  | 0.00% | 0 / 9
load(array $configs, ContainerBuilder $container) |  | 0.00% | 0 / 1 | 2 |  | 0.00% | 0 / 5
getAlias() |  | 0.00% | 0 / 1 | 2 |  | 0.00% | 0 / 4

1 | <?php
2 |
3 | namespace BodyRep\DependencyInjection;
4 |
5 | use Symfony\Component\DependencyInjection\ContainerBuilder;
6 | use Symfony\Component\DependencyInjection\Loader\XmlFileLoader;
7 | use Symfony\Component\HttpKernel\DependencyInjection\Extension;
8 | use Symfony\Component\Config\FileLocator;
9 |
10 | class BodyRepExtension extends Extension
11 | {
12 | public function load(array $configs, ContainerBuilder $container)
13 | {
14 | $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
15 | $loader->load('services.xml');
16 | }
17 |
18 | public function getAlias()
19 | {
20 | return 'body_rep';
21 | }
22 | }