1 | <?php |
||
16 | class StatisticsServiceProvider extends ServiceProvider |
||
17 | { |
||
18 | /** |
||
19 | * The commands to be registered. |
||
20 | * |
||
21 | * @var array |
||
22 | */ |
||
23 | protected $commands = [ |
||
24 | SeedCommand::class => 'command.cortex.statistics.seed', |
||
25 | InstallCommand::class => 'command.cortex.statistics.install', |
||
26 | MigrateCommand::class => 'command.cortex.statistics.migrate', |
||
27 | PublishCommand::class => 'command.cortex.statistics.publish', |
||
28 | RollbackCommand::class => 'command.cortex.statistics.rollback', |
||
29 | ]; |
||
30 | |||
31 | /** |
||
32 | * Register any application services. |
||
33 | * |
||
34 | * This service provider is a great spot to register your various container |
||
35 | * bindings with the application. As you can see, we are registering our |
||
36 | * "Registrar" implementation here. You can add your own bindings too! |
||
37 | * |
||
38 | * @return void |
||
39 | */ |
||
40 | public function register(): void |
||
45 | |||
46 | /** |
||
47 | * Bootstrap any application services. |
||
48 | * |
||
49 | * @return void |
||
50 | */ |
||
51 | public function boot(Router $router): void |
||
76 | |||
77 | /** |
||
78 | * Publish resources. |
||
79 | * |
||
80 | * @return void |
||
81 | */ |
||
82 | protected function publishResources(): void |
||
87 | |||
88 | /** |
||
89 | * Register console commands. |
||
90 | * |
||
91 | * @return void |
||
92 | */ |
||
93 | protected function registerCommands(): void |
||
102 | } |
||
103 |
Overly long lines are hard to read on any screen. Most code styles therefor impose a maximum limit on the number of characters in a line.