| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 63 | public function register() |
|
| 39 | { |
||
| 40 | 63 | $this->app->bind( |
|
| 41 | 63 | 'Illuminate\Contracts\Auth\Registrar', 'Tinyissue\Services\Registrar' |
|
| 42 | ); |
||
| 43 | |||
| 44 | $this->app['artisan.tinyissue.install'] = $this->app->share(function () { |
||
| 45 | 1 | return new \Tinyissue\Console\Commands\Install(); |
|
| 46 | 63 | }); |
|
| 47 | |||
| 48 | 63 | $this->commands('artisan.tinyissue.install'); |
|
| 49 | |||
| 50 | 63 | $this->app['tinyissue.settings'] = $this->app->share(function () { |
|
| 51 | 63 | return new Services\SettingsManager(); |
|
| 52 | 63 | }); |
|
| 53 | 63 | } |
|
| 54 | } |
||
| 55 |