CooperServiceProvider
extends ServiceProvider
in package
Cooper's commands on artisan, rooted at the application's base path:
cooper:init,cooper:check-- php-cooper-config's, unchanged;cooper:checkloads the document the way the application does, with this integration's tags and the optionsbootstrap/app.phpgaveLoadConfiguration;cooper:import-- this package's: packages' and the application's PHP configuration into CASC.
Loading the configuration is not the provider's: providers are
registered after the configuration is loaded, so the bootstrappers
bound in bootstrap/app.php do it. Laravel discovers this provider
from composer.json.
Table of Contents
Methods
- boot() : void
- Puts the commands on artisan.
- register() : void
- Binds the commands, each built for this application.
- checkOptions() : array<string, mixed>
- What `cooper:check` loads with: the options the application's `LoadConfiguration` loads with, and its document -- or, when the application has not installed it, this integration's tags alone.
Methods
boot()
Puts the commands on artisan.
public
boot() : void
register()
Binds the commands, each built for this application.
public
register() : void
checkOptions()
What `cooper:check` loads with: the options the application's `LoadConfiguration` loads with, and its document -- or, when the application has not installed it, this integration's tags alone.
private
checkOptions() : array<string, mixed>