PHP Class Fedeisas\LaravelJsRoutes\Commands\RoutesJavascriptCommand

Inheritance: extends Illuminate\Console\Command
Afficher le fichier Open project: fedeisas/laravel-js-routes

Protected Properties

Свойство Type Description
$description string The console command description.
$generator Fedeisas\LaravelJsRoutes\Generators\RoutesJavascriptGenerator Javascript generator instance.
$name string The console command name.

Méthodes publiques

Méthode Description
__construct ( RoutesJavascriptGenerator $generator ) : void Create a new command instance.
fire ( ) : mixed Execute the console command.

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
getPath ( ) : string Get the path to the file that should be generated.

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( RoutesJavascriptGenerator $generator ) : void
$generator Fedeisas\LaravelJsRoutes\Generators\RoutesJavascriptGenerator
Résultat void

fire() public méthode

Execute the console command.
public fire ( ) : mixed
Résultat mixed

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

getPath() protected méthode

Get the path to the file that should be generated.
protected getPath ( ) : string
Résultat string

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$generator protected_oe property

Javascript generator instance.
protected RoutesJavascriptGenerator,Fedeisas\LaravelJsRoutes\Generators $generator
Résultat Fedeisas\LaravelJsRoutes\Generators\RoutesJavascriptGenerator

$name protected_oe property

The console command name.
protected string $name
Résultat string