PHP Class Serverfireteam\Panel\Commands\CreateModelObserverCommand

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

Protected Properties

Property Type Description
$description contains the description of command
$name contains the 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.
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 The namespace of the panel's observers

getStub() protected method

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

Property Details

$description protected_oe property

contains the description of command
protected $description

$name protected_oe property

contains the command name
protected $name

$type protected_oe property

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