PHP Class Nwidart\Modules\Commands\GenerateListenerCommand

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

Protected Properties

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

Public Methods

Method Description
fire ( )

Protected Methods

Method Description
getArguments ( ) : array Get the console command arguments.
getDestinationFilePath ( )
getEventName ( Module $module )
getFileName ( ) : string
getOptions ( ) : array Get the console command options.
getTemplateContents ( )

Private Methods

Method Description
getNamespace ( $module )

Method Details

fire() public method

public fire ( )

getArguments() protected method

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

getDestinationFilePath() protected method

protected getDestinationFilePath ( )

getEventName() protected method

protected getEventName ( Module $module )
$module Nwidart\Modules\Module

getFileName() protected method

protected getFileName ( ) : string
return string

getOptions() protected method

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

getTemplateContents() protected method

protected getTemplateContents ( )

Property Details

$argumentName protected_oe property

protected $argumentName

$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