PHP Class Caffeinated\Modules\Console\Generators\MakeSeederCommand

Inheritance: extends Caffeinated\Modules\Console\GeneratorCommand
Datei anzeigen Open project: caffeinated/modules

Protected Properties

Property Type Description
$description string The console command description.
$signature string The name and signature of the console command.
$type string String to store the command type.

Protected Methods

Method Description
getNamespace ( string $name ) : string Replace namespace in seeder stub.
getPath ( string $name ) : string Get the destination class path.
getStub ( ) : string Get the stub file for the generator.
parseName ( string $name ) : string Parse the name and format according to the root namespace.

Method Details

getNamespace() protected method

Replace namespace in seeder stub.
protected getNamespace ( string $name ) : string
$name 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

parseName() protected method

Parse the name and format according to the root namespace.
protected parseName ( string $name ) : string
$name string
return string

Property Details

$description protected_oe property

The console command description.
protected string $description
return string

$signature protected_oe property

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

$type protected_oe property

String to store the command type.
protected string $type
return string