| Conditions | 1 |
| Paths | 1 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 10 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 38 | 63 | public function register() |
|
| 39 | { |
||
| 40 | 63 | $this->mergeConfigFrom( |
|
| 41 | 63 | __DIR__ . '/../../resources/config/doorman.php', |
|
| 42 | 63 | 'doorman' |
|
| 43 | ); |
||
| 44 | |||
| 45 | 63 | $this->app->bind(BaseInvite::class, function($app) { |
|
| 46 | 63 | return new $app['config']['doorman.invite_model']; |
|
| 47 | 63 | }); |
|
| 48 | |||
| 49 | 63 | $this->app->bind('doorman', Doorman::class); |
|
| 50 | 63 | $this->app->singleton(Doorman::class, Doorman::class); |
|
| 51 | 63 | } |
|
| 52 | } |
||
| 53 |