PHP Class Laratrust\MakeRoleCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
Datei anzeigen Open project: santigarcor/laratrust

Protected Properties

Property Type Description
$description string The console command description.
$name string The console command name.
$type string The type of class being generated.

Public Methods

Method Description
fire ( ) : void Execute the console command.

Protected Methods

Method 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 method

Execute the console command.
public fire ( ) : void
return void

getArguments() protected method

Get the console command arguments.
protected getArguments ( ) : array
return array

getDefaultNamespace() protected method

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
return string

getNameInput() protected method

Get the desired class name from the input.
protected getNameInput ( ) : string
return string

getStub() protected method

Get the stub file for the generator.
protected getStub ( ) : string
return string

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The console command name.
protected string $name
return string

$type protected_oe property

The type of class being generated.
protected string $type
return string