Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class BridgeProvider implements ProviderInterface |
||
19 | { |
||
20 | const CONTAINER = 'Rougin\Slytherin\Container\Container'; |
||
21 | |||
22 | /** |
||
23 | * @var \Rougin\Slytherin\Integration\IntegrationInterface[] |
||
24 | */ |
||
25 | protected $integrations; |
||
26 | |||
27 | /** |
||
28 | * Initializes the provider instance. |
||
29 | * |
||
30 | * @param \Rougin\Slytherin\Integration\IntegrationInterface[] $integrations |
||
31 | */ |
||
32 | 6 | public function __construct($integrations) |
|
35 | 6 | } |
|
36 | |||
37 | /** |
||
38 | * Registers the bindings in the container. |
||
39 | * |
||
40 | * @param \Zapheus\Container\WritableInterface $container |
||
41 | * @return \Zapheus\Container\ContainerInterface |
||
42 | */ |
||
43 | 6 | public function register(WritableInterface $container) |
|
59 |