PHP Class Laratrust\MakeRoleCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
Afficher le fichier Open project: santigarcor/laratrust

Protected Properties

Свойство Type Description
$description string The console command description.
$name string The console command name.
$type string The type of class being generated.

Méthodes publiques

Méthode Description
fire ( ) : void Execute the console command.

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getDefaultNamespace ( string $rootNamespace ) : string Get the default namespace for the class.
getNameInput ( ) : string Get the desired class name from the input.
getStub ( ) : string Get the stub file for the generator.

Method Details

fire() public méthode

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

getArguments() protected méthode

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

getDefaultNamespace() protected méthode

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
Résultat string

getNameInput() protected méthode

Get the desired class name from the input.
protected getNameInput ( ) : string
Résultat string

getStub() protected méthode

Get the stub file for the generator.
protected getStub ( ) : string
Résultat string

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

$type protected_oe property

The type of class being generated.
protected string $type
Résultat string