| Total Complexity | 3 |
| Total Lines | 33 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 15 | class ZapheusProvider implements ProviderInterface |
||
| 16 | { |
||
| 17 | const COMPOSITE = 'App\Zapheus\CompositeRouter'; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * Registers the bindings in the container. |
||
| 21 | * |
||
| 22 | * @param \Zapheus\Container\WritableInterface $container |
||
| 23 | * @return \Zapheus\Container\ContainerInterface |
||
| 24 | */ |
||
| 25 | 9 | public function register(WritableInterface $container) |
|
| 28 | } |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Merges two or more Routing\RouterInterface instances. |
||
| 32 | * |
||
| 33 | * @param \Zapheus\Container\WritableInterface $container |
||
| 34 | * @param \Zapheus\Routing\RouterInterface $router |
||
| 35 | * @return \Zapheus\Container\WritableInterface |
||
| 36 | */ |
||
| 37 | 9 | public static function merge(WritableInterface $container, RouterInterface $router) |
|
| 50 |