Total Complexity | 2 |
Total Lines | 36 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
14 | class BridgeProvider implements ProviderInterface |
||
15 | { |
||
16 | const CONTAINER = 'Symfony\Component\DependencyInjection\Container'; |
||
17 | |||
18 | /** |
||
19 | * @var \Symfony\Component\HttpKernel\Bundle\BundleInterface[] |
||
20 | */ |
||
21 | protected $bundles; |
||
22 | |||
23 | /** |
||
24 | * Initializes the provider instance. |
||
25 | * |
||
26 | * @param \Symfony\Component\HttpKernel\Bundle\BundleInterface[] $bundles |
||
27 | */ |
||
28 | 3 | public function __construct(array $bundles) |
|
31 | 3 | } |
|
32 | |||
33 | /** |
||
34 | * Registers the bindings in the container. |
||
35 | * |
||
36 | * @param \Zapheus\Container\WritableInterface $container |
||
37 | * @return \Zapheus\Container\ContainerInterface |
||
38 | */ |
||
39 | 3 | public function register(WritableInterface $container) |
|
52 |