PHP Class Spatie\Fractal\Console\Commands\TransformerMakeCommand

Inheritance: extends Illuminate\Console\GeneratorCommand
Exibir arquivo Open project: spatie/laravel-fractal

Protected Properties

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

Protected Methods

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

Method Details

getDefaultNamespace() protected method

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

getStub() protected method

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

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$name protected_oe property

The name and signature of the console command.
protected string $name
return string

$type protected_oe property

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