Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | public function register() |
||
15 | { |
||
16 | $this->app->singleton('router', function ($app) { |
||
17 | return new Router($app['events'], $app); |
||
18 | }); |
||
19 | |||
20 | $this->app->bind('Huntie\JsonApi\Routing\ResourceRegistrar', function ($app) { |
||
21 | return new ResourceRegistrar($app['router']); |
||
22 | }); |
||
23 | } |
||
24 | } |
||
25 |