BootstrapCommand
class BootstrapCommand extends Command (View source)
Bootstrap integration.
Traits
Console commands utilities.
Properties
protected string | $signature | The name and signature of the console command. |
|
protected string | $description | The console command description. |
Methods
Warn user running command in production.
Print formatted labels.
Write | replace setting in .env file.
Create a new command instance.
Execute the console command.
Create/update client APP name.
Create/update target environment.
Create/update currency.
Create/update target product subscribed too.
Create/update product subscription key.
Details
protected bool
runInProduction(string $warning = 'Application In Production!')
Warn user running command in production.
protected void
printLabels(string $title, array|string $body = null)
Print formatted labels.
protected string
getRegex(string $name, string $key)
deprecated
deprecated
Determine replacement regex pattern a setting.
protected void
updateSetting(string $name, string $key, string $value)
Write | replace setting in .env file.
__construct()
Create a new command instance.
void
handle()
Execute the console command.
protected void
setClientName()
Create/update client APP name.
protected void
setEnvironment()
Create/update target environment.
protected void
setCurrency()
Create/update currency.
protected void
setProductName()
Create/update target product subscribed too.
protected void
setProductSubscriptionKey()
Create/update product subscription key.