PHP Class Nwidart\Modules\Commands\InstallCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: nwidart/laravel-modules

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.

Méthodes publiques

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

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
install ( string $name, string $version = 'dev-master', string $type = 'composer', boolean $tree = false ) Install the specified module.
installFromFile ( ) Install modules from modules.json file.

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( )

fire() public méthode

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

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

install() protected méthode

Install the specified module.
protected install ( string $name, string $version = 'dev-master', string $type = 'composer', boolean $tree = false )
$name string
$version string
$type string
$tree boolean

installFromFile() protected méthode

Install modules from modules.json file.
protected installFromFile ( )

Property Details

$description protected_oe property

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

$name protected_oe property

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