| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 32 | public function register() |
||
| 33 | { |
||
| 34 | // Automatically apply the package configuration |
||
| 35 | $this->mergeConfigFrom(__DIR__.'/../config/config.php', 'api-jwt-scaffold'); |
||
| 36 | |||
| 37 | // Register the main class to use with the facade |
||
| 38 | $this->app->singleton('api-jwt-scaffold', function () { |
||
| 39 | return new ApiJwtScaffold; |
||
| 40 | }); |
||
| 41 | |||
| 42 | $this->app->bind(InstallerContract::class, LaravelPassportInstaller::class); |
||
| 43 | $this->app->bind(InstallerContract::class, TymonJwtInstaller::class); |
||
| 44 | } |
||
| 45 | } |
||
| 46 |