PHP Class Caffeinated\Modules\Console\Commands\ModuleListCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: caffeinated/modules

Protected Properties

Свойство Type Description
$description string The console command description.
$headers array The table headers for the command.
$module Caffeinated\Modules\Modules
$name string The console command name.

Méthodes publiques

Méthode Description
__construct ( Modules $module ) Create a new command instance.
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode Description
displayModules ( array $modules ) Display the module information on the console.
getModuleInformation ( string $module ) : array Returns module manifest information.
getModules ( ) : array Get all modules.

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( Modules $module )
$module Caffeinated\Modules\Modules

displayModules() protected méthode

Display the module information on the console.
protected displayModules ( array $modules )
$modules array

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getModuleInformation() protected méthode

Returns module manifest information.
protected getModuleInformation ( string $module ) : array
$module string
Résultat array

getModules() protected méthode

Get all modules.
protected getModules ( ) : array
Résultat array

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$headers protected_oe property

The table headers for the command.
protected array $headers
Résultat array

$module protected_oe property

protected Modules,Caffeinated\Modules $module
Résultat Caffeinated\Modules\Modules

$name protected_oe property

The console command name.
protected string $name
Résultat string