1 | <?php |
||
17 | class ContactsServiceProvider extends ServiceProvider |
||
18 | { |
||
19 | /** |
||
20 | * The commands to be registered. |
||
21 | * |
||
22 | * @var array |
||
23 | */ |
||
24 | protected $commands = [ |
||
25 | SeedCommand::class => 'command.cortex.contacts.seed', |
||
26 | InstallCommand::class => 'command.cortex.contacts.install', |
||
27 | MigrateCommand::class => 'command.cortex.contacts.migrate', |
||
28 | PublishCommand::class => 'command.cortex.contacts.publish', |
||
29 | RollbackCommand::class => 'command.cortex.contacts.rollback', |
||
30 | ]; |
||
31 | |||
32 | /** |
||
33 | * Register any application services. |
||
34 | * |
||
35 | * This service provider is a great spot to register your various container |
||
36 | * bindings with the application. As you can see, we are registering our |
||
37 | * "Registrar" implementation here. You can add your own bindings too! |
||
38 | * |
||
39 | * @return void |
||
40 | */ |
||
41 | public function register(): void |
||
46 | |||
47 | /** |
||
48 | * Bootstrap any application services. |
||
49 | * |
||
50 | * @return void |
||
51 | */ |
||
52 | public function boot(Router $router): void |
||
76 | |||
77 | /** |
||
78 | * Publish resources. |
||
79 | * |
||
80 | * @return void |
||
81 | */ |
||
82 | protected function publishResources(): void |
||
88 | |||
89 | /** |
||
90 | * Register console commands. |
||
91 | * |
||
92 | * @return void |
||
93 | */ |
||
94 | protected function registerCommands(): void |
||
103 | } |
||
104 |
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.