PHP Class duxet\Rethinkdb\Console\Model\ModelMakeCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
Show file Open project: duxet/laravel-rethinkdb

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
getDefaultNamespace ( string $rootNamespace ) : string Get the default namespace for the class.
getOptions ( ) : array Get the console command options.
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

getOptions() protected method

Get the console command options.
protected getOptions ( ) : array
return array

getStub() protected method

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

Property Details

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string

$type protected property

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