PHP Class Nwidart\Modules\Commands\CommandCommand

Inheritance: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Datei anzeigen Open project: nwidart/laravel-modules

Protected Properties

Property Type Description
$argumentName string The name of argument name.
$description string The console command description.
$name string The console command name.

Public Methods

Method Description
getDefaultNamespace ( ) : string Get default namespace.

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getDestinationFilePath ( ) : mixed
getOptions ( ) : array Get the console command options.
getTemplateContents ( ) : mixed

Private Methods

Method Description
getCommandName ( ) : string
getFileName ( ) : string

Method Details

getArguments() protected method

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

getDefaultNamespace() public method

Get default namespace.
public getDefaultNamespace ( ) : string
return string

getDestinationFilePath() protected method

protected getDestinationFilePath ( ) : mixed
return mixed

getOptions() protected method

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

getTemplateContents() protected method

protected getTemplateContents ( ) : mixed
return mixed

Property Details

$argumentName protected_oe property

The name of argument name.
protected string $argumentName
return string

$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