PHP Class Illuminate\Foundation\Console\TestMakeCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
Show file Open project: laravel/framework

Protected Properties

Property Type Description
$description string The console command description.
$signature string The console command name.
$type string The type of class being generated.

Protected Methods

Method Description
getDefaultNamespace ( string $rootNamespace ) : string Get the default namespace for the class.
getPath ( string $name ) : string Get the destination class path.
getStub ( ) : string Get the stub file for the generator.
rootNamespace ( ) : string Get the root namespace for the class.

Method Details

getDefaultNamespace() protected method

Get the default namespace for the class.
protected getDefaultNamespace ( string $rootNamespace ) : string
$rootNamespace string
return string

getPath() protected method

Get the destination class path.
protected getPath ( string $name ) : string
$name string
return string

getStub() protected method

Get the stub file for the generator.
protected getStub ( ) : string
return string

rootNamespace() protected method

Get the root namespace for the class.
protected rootNamespace ( ) : string
return string

Property Details

$description protected property

The console command description.
protected string $description
return string

$signature protected property

The console command name.
protected string $signature
return string

$type protected property

The type of class being generated.
protected string $type
return string