php-cooper-laravel

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:check loads the document the way the application does, with this integration's tags and the options bootstrap/app.php gave LoadConfiguration;
  • 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

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>
Return values
array<string, mixed>
On this page

Search results