| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 4 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 50 | 137 | public function register() |
|
| 51 | { |
||
| 52 | // Automatically apply the package configuration |
||
| 53 | 137 | $this->mergeConfigFrom(__DIR__.'/../config/ghost.php', 'ghost'); |
|
| 54 | |||
| 55 | // Register the main class to use with the facade |
||
| 56 | 137 | $this->app->singleton('laravel-ghost', function () { |
|
| 57 | 137 | return new Ghost; |
|
| 58 | 137 | }); |
|
| 61 |