Total Complexity | 2 |
Total Lines | 35 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
17 | class DispatcherProvider implements ProviderInterface |
||
18 | { |
||
19 | const DISPATCHER = 'Zapheus\Routing\DispatcherInterface'; |
||
20 | |||
21 | /** |
||
22 | * An array of Zapheus\Routing\RouterInterface instances. |
||
23 | * |
||
24 | * @var string[] |
||
25 | */ |
||
26 | protected $routers = array('App\Example\RouteCollection'); |
||
27 | |||
28 | /** |
||
29 | * Registers the bindings in the container. |
||
30 | * |
||
31 | * @param \Zapheus\Container\WritableInterface $container |
||
32 | * @return \Zapheus\Container\ContainerInterface |
||
33 | */ |
||
34 | 9 | public function register(WritableInterface $container) |
|
54 |