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