PHP Class Nwidart\Modules\Commands\GenerateRouteProviderCommand

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

Protected Properties

Property Type Description
$argumentName
$description string The command description.
$name string The command name.

Protected Methods

Method Description
getArguments ( ) : array The command arguments.
getDestinationFilePath ( ) : string Get the destination file path.
getTemplateContents ( ) : string Get template contents.

Private Methods

Method Description
getFileName ( ) : string

Method Details

getArguments() protected method

The command arguments.
protected getArguments ( ) : array
return array

getDestinationFilePath() protected method

Get the destination file path.
protected getDestinationFilePath ( ) : string
return string

getTemplateContents() protected method

Get template contents.
protected getTemplateContents ( ) : string
return string

Property Details

$argumentName protected property

protected $argumentName

$description protected property

The command description.
protected string $description
return string

$name protected property

The command name.
protected string $name
return string