PHP Class Nwidart\Modules\Commands\MakeRequestCommand

Inheritance: extends GeneratorCommand, use trait Nwidart\Modules\Traits\ModuleCommandTrait
Show file 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
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

getTemplateContents() protected method

protected getTemplateContents ( ) : mixed
return mixed

Property Details

$argumentName protected property

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

$description protected property

The console command description.
protected string $description
return string

$name protected property

The console command name.
protected string $name
return string