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