class
Illuminate
/
Foundation
/
Console
/
ConsoleMakeCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
ConsoleMakeCommand
Extends
Uses
Properties
protected
$name string
The console command name.
Default: 'make:command'
protected
$description string
The console command description.
Default: 'Create a new Artisan command'
protected
$type string
The type of class being generated.
Default: 'Console command'
Methods
protected
replaceClass ( $stub , $name ) : string
Replace the class name for the given stub.
Parameters
- $stub string
- $name string
protected
getStub ( ) : string
Get the stub file for the generator.
protected
getDefaultNamespace ( $rootNamespace ) : string
Get the default namespace for the class.
Parameters
- $rootNamespace string
protected
getArguments ( ) : array
Get the console command arguments.
protected
getOptions ( ) : array
Get the console command options.