PHP Class Caffeinated\Modules\Console\Generators\MakeSeederCommand

Inheritance: extends Caffeinated\Modules\Console\GeneratorCommand
Afficher le fichier Open project: caffeinated/modules

Protected Properties

Свойство 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.

Méthodes protégées

Méthode 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 méthode

Replace namespace in seeder stub.
protected getNamespace ( string $name ) : string
$name string
Résultat string

getPath() protected méthode

Get the destination class path.
protected getPath ( string $name ) : string
$name string
Résultat string

getStub() protected méthode

Get the stub file for the generator.
protected getStub ( ) : string
Résultat string

parseName() protected méthode

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

Property Details

$description protected_oe property

The console command description.
protected string $description
Résultat string

$signature protected_oe property

The name and signature of the console command.
protected string $signature
Résultat string

$type protected_oe property

String to store the command type.
protected string $type
Résultat string