PHP Class Caffeinated\Modules\Console\Generators\MakeModelCommand

Inheritance: extends Caffeinated\Modules\Console\Generators\MakeCommand
Mostra file Open project: caffeinated/modules

Protected Properties

Property Type Description
$description string The console command description.
$signature string The name and signature of the console command.
$type string String to store the command type.

Public Methods

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

Protected Methods

Method Description
getDefaultNamespace ( string $rootNamespace ) : string Get the default namespace for the class.
getStub ( ) : string Get the stub file for the generator.

Method Details

fire() public method

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

getDefaultNamespace() protected method

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace 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

$signature protected_oe property

The name and signature of the console command.
protected string $signature
return string

$type protected_oe property

String to store the command type.
protected string $type
return string