Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
12 | class IndexNowServiceProvider extends PackageServiceProvider |
||
13 | { |
||
14 | 16 | public function configurePackage(Package $package): void |
|
15 | { |
||
16 | /* |
||
17 | * This class is a Package Service Provider |
||
18 | * |
||
19 | * More info: https://github.com/spatie/laravel-package-tools |
||
20 | */ |
||
21 | 16 | $package |
|
22 | 16 | ->name('index-now') |
|
23 | 16 | ->hasConfigFile('index-now') |
|
24 | 16 | ->hasCommand(GenerateKeyCommand::class); |
|
25 | } |
||
26 | |||
27 | /** |
||
28 | * Register any application services. |
||
29 | * |
||
30 | * @return void |
||
31 | * |
||
32 | * @throws InvalidPackage |
||
33 | */ |
||
34 | 16 | public function register() |
|
41 | 16 | ); |
|
42 | } |
||
44 |