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 |
|||
| <?php | |
| namespace BodyRep\DependencyInjection; | |
| use Symfony\Component\DependencyInjection\ContainerBuilder; | |
| use Symfony\Component\DependencyInjection\Loader\XmlFileLoader; | |
| use Symfony\Component\HttpKernel\DependencyInjection\Extension; | |
| use Symfony\Component\Config\FileLocator; | |
| class BodyRepExtension extends Extension | |
| { | |
| public function load(array $configs, ContainerBuilder $container) | |
| { | |
| $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); | |
| $loader->load('services.xml'); | |
| } | |
| public function getAlias() | |
| { | |
| return 'body_rep'; | |
| } | |
| } |