PHP Class Laralib\L5scaffold\Commands\ScaffoldMakeCommand

Inheritance: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait, use trait Laralib\L5scaffold\Makes\MakerTrait
Afficher le fichier Open project: laralib/l5scaffold Class Usage Examples

Protected Properties

Свойство Type Description
$description string The console command description.
$meta array Meta information for the requested migration.
$name string The console command name!

Méthodes publiques

Méthode Description
__construct ( Illuminate\Filesystem\Filesystem $files ) : void Create a new command instance.
fire ( ) : void Execute the console command.
getMeta ( ) : array Get access to $meta array
getObjName ( string $config = 'Name' ) : mixed Generate names

Méthodes protégées

Méthode Description
getArguments ( ) : array Get the console command arguments.
getOptions ( ) : array Get the console command options.
makeMeta ( ) : void Generate the desired migration.
makeMigration ( ) : void Generate the desired migration.
makeModel ( ) : void Generate an Eloquent model, if the user wishes.

Private Methods

Méthode Description
makeController ( ) : void Make a Controller with default actions
makeLocalization ( ) Setup the localizations
makeSeed ( ) : void Generate a Seed
makeViewLayout ( ) : void Make a layout.blade.php with bootstrap
makeViews ( ) : void Setup views and assets

Method Details

__construct() public méthode

Create a new command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void
$files Illuminate\Filesystem\Filesystem
Résultat void

fire() public méthode

Execute the console command.
public fire ( ) : void
Résultat void

getArguments() protected méthode

Get the console command arguments.
protected getArguments ( ) : array
Résultat array

getMeta() public méthode

Get access to $meta array
public getMeta ( ) : array
Résultat array

getObjName() public méthode

Generate names
public getObjName ( string $config = 'Name' ) : mixed
$config string
Résultat mixed

getOptions() protected méthode

Get the console command options.
protected getOptions ( ) : array
Résultat array

makeMeta() protected méthode

Generate the desired migration.
protected makeMeta ( ) : void
Résultat void

makeMigration() protected méthode

Generate the desired migration.
protected makeMigration ( ) : void
Résultat void

makeModel() protected méthode

Generate an Eloquent model, if the user wishes.
protected makeModel ( ) : void
Résultat void

Property Details

$description protected_oe property

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

$meta protected_oe property

Meta information for the requested migration.
protected array $meta
Résultat array

$name protected_oe property

The console command name!
protected string $name
Résultat string