Total Complexity | 4 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
8 | class PasswordServiceProvider extends ServiceProvider |
||
9 | { |
||
10 | /** |
||
11 | * Register package services. |
||
12 | * |
||
13 | * @return void |
||
14 | */ |
||
15 | public function register() |
||
16 | { |
||
17 | $this->mergeConfigFrom(__DIR__ . '/../config/passwords.php', 'passwords'); |
||
18 | |||
19 | $this->app->bind('passwords', fn () => new PasswordManager); |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Bootstrap package services. |
||
24 | * |
||
25 | * @return void |
||
26 | */ |
||
27 | public function boot() |
||
45 | ]); |
||
46 | } |
||
48 | } |