class PoppyListCommand extends Command

Poppy List

Properties

protected string $name

The console command name.

protected string $description

The console command description.

protected Poppy $poppy
protected array $headers

The table headers for the command.

Methods

__construct(Poppy $poppy)

Create a new command instance.

handle()

Execute the console command.

array
getModules()

Get all modules.

array
getModuleInformation(array $module)

Returns module manifest information.

displayModules(array $modules)

Display the module information on the console.

Details

at line 42
__construct(Poppy $poppy)

Create a new command instance.

Parameters

Poppy $poppy

at line 52
handle()

Execute the console command.

at line 69
protected array getModules()

Get all modules.

Return Value

array

at line 86
protected array getModuleInformation(array $module)

Returns module manifest information.

Parameters

array $module module

Return Value

array

at line 101
protected displayModules(array $modules)

Display the module information on the console.

Parameters

array $modules modules