class
Illuminate
/
Foundation
/
Console
/
ExceptionMakeCommand
You're browsing the documentation for an upcoming version of Laravel. The documentation and features of this release are subject to change.
ExceptionMakeCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'make:exception'
protected
$description string
The console command description.
Default: 'Create a new custom exception class'
protected
$type string
The type of class being generated.
Default: 'Exception'
Methods
protected
getStub ( ) : string
Get the stub file for the generator.
protected
alreadyExists ( $rawName ) : bool
Determine if the class already exists.
Parameters
- $rawName string
protected
getDefaultNamespace ( $rootNamespace ) : string
Get the default namespace for the class.
Parameters
- $rootNamespace string
protected
getOptions ( ) : array
Get the console command options.