GeneratePriceListDefaultsCommand
extends AbstractBaseCommand
in package
Class that can be used as Base for other commands It exposes functions to unify the look&feel
Table of Contents
- $classes : array<string|int, mixed>
- $description : mixed
- $signature : mixed
- $silent : bool
- Suppress all info,error,warn and printWelcome output messages use `$this->line` instead to force writing output in silent mode
- __construct() : mixed
- Constructor, it will start a new batch to group all log items
- call() : int
- Call another console command.
- error() : void
- Print an <error>$string</error> message
- handle() : void
- info() : void
- Print an <info>$string</info> message
- warn() : void
- Print an <error>$string</error> message
- printWelcome() : bool
- Prints a Welcome message
Properties
$classes
protected
array<string|int, mixed>
$classes
= ['Snapshot' => \Athomos\Bennu\Modules\Cloud\OpenStack\BlockStorage\Models\Snapshot::class, 'Volume' => \Athomos\Bennu\Modules\Cloud\OpenStack\BlockStorage\Models\Volume::class, 'Image' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Models\Image::class, 'Server' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Models\Server::class, 'Backup' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Models\Backup::class, 'Flavor' => \Athomos\Bennu\Modules\Cloud\OpenStack\Compute\Models\Flavor::class, 'Floating Ip' => \Athomos\Bennu\Modules\Cloud\OpenStack\Networking\Models\FloatingIp::class, 'Load Balancer' => \Athomos\Bennu\Modules\Cloud\OpenStack\Networking\Models\LoadBalancer::class, 'Network' => \Athomos\Bennu\Modules\Cloud\OpenStack\Networking\Models\Network::class, 'Container' => \Athomos\Bennu\Modules\Cloud\OpenStack\ObjectStore\Models\Container::class]
$description
protected
mixed
$description
= 'This command will populate the entries for the PriceListDefault model'
$signature
protected
mixed
$signature
= 'bennu:crm:generate-price-list-defaults {--Y|yes}'
$silent
Suppress all info,error,warn and printWelcome output messages use `$this->line` instead to force writing output in silent mode
protected
bool
$silent
= false
Methods
__construct()
Constructor, it will start a new batch to group all log items
public
__construct() : mixed
Return values
mixed —call()
Call another console command.
public
call( $command[, array<string|int, mixed> $arguments = [] ]) : int
Parameters
Return values
int —error()
Print an <error>$string</error> message
public
error( $string[, $verbosity = null ]) : void
Parameters
Return values
void —handle()
public
handle() : void
Return values
void —info()
Print an <info>$string</info> message
public
info( $string[, $verbosity = null ]) : void
Parameters
Return values
void —warn()
Print an <error>$string</error> message
public
warn( $string[, $verbosity = null ]) : void
Parameters
Return values
void —printWelcome()
Prints a Welcome message
protected
printWelcome([string|null $message = null ][, bool $assumeYes = false ]) : bool
Parameters
- $message : string|null = null
- $assumeYes : bool = false