| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Code Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 35 | public function register() |
||
| 36 | { |
||
| 37 | // Commands |
||
| 38 | $this->commands([ |
||
| 39 | Console\CompileRoutesCommand::class, |
||
| 40 | Console\PublishProvidedRoutesCommand::class, |
||
| 41 | Console\CleanupProvidedRoutesCommand::class, |
||
| 42 | Console\SyncProvidedRoutesCommand::class, |
||
| 43 | ]); |
||
| 44 | |||
| 45 | // Services |
||
| 46 | $this->app->bind('ElementsFramework\DynamicRouting\Service\Compiler\RouteDeclarationCompiler', function($app) { |
||
|
|
|||
| 47 | return new Service\Compiler\RouteDeclarationCompiler(); |
||
| 48 | }); |
||
| 49 | $this->app->bind('ElementsFramework\DynamicRouting\Service\Publishing\RoutePublisher', function($app) { |
||
| 50 | return new Service\Publishing\RoutePublisher(); |
||
| 51 | }); |
||
| 52 | } |
||
| 53 | |||
| 54 | } |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.