PHP Class Serverfireteam\Panel\Commands\CreateModelCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
ファイルを表示 Open project: serverfireteam/panel

Protected Properties

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

Public Methods

Method Description
fire ( ) : void fire model and observer model class

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

fire model and observer model class
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 dscription
protected $description

$name protected_oe property

the console command name
protected $name

$type protected_oe property

The type of class being generated.
protected $type