PHP Class Nwidart\Modules\Commands\GenerateProviderCommand

Inheritance: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
ファイルを表示 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
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