class
Illuminate
/
Foundation
/
Console
/
TestMakeCommand
You are viewing an older version of the documentation. For the latest, please visit master documentation.
TestMakeCommand
Extends
Properties
protected
$name string
The console command name.
Default: 'make:test'
protected
$description string
The console command description.
Default: 'Create a new test class'
protected
$type string
The type of class being generated.
Default: 'Test'
Methods
protected
getStub ( ) : string
Get the stub file for the generator.
protected
resolveStubPath ( $stub ) : string
Resolve the fully-qualified path to the stub.
Parameters
- $stub string
protected
getPath ( $name ) : string
Get the destination class path.
Parameters
- $name string
protected
getDefaultNamespace ( $rootNamespace ) : string
Get the default namespace for the class.
Parameters
- $rootNamespace string
protected
rootNamespace ( ) : string
Get the root namespace for the class.
protected
getOptions ( ) : array
Get the console command options.