PHP Класс Laralib\L5scaffold\Commands\ScaffoldMakeCommand

Наследование: extends Illuminate\Console\Command, use trait Illuminate\Console\AppNamespaceDetectorTrait, use trait Laralib\L5scaffold\Makes\MakerTrait
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$description string The console command description.
$meta array Meta information for the requested migration.
$name string The console command name!

Открытые методы

Метод Описание
__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

Защищенные методы

Метод Описание
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.

Приватные методы

Метод Описание
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

Описание методов

__construct() публичный метод

Create a new command instance.
public __construct ( Illuminate\Filesystem\Filesystem $files ) : void
$files Illuminate\Filesystem\Filesystem
Результат void

fire() публичный метод

Execute the console command.
public fire ( ) : void
Результат void

getArguments() защищенный метод

Get the console command arguments.
protected getArguments ( ) : array
Результат array

getMeta() публичный метод

Get access to $meta array
public getMeta ( ) : array
Результат array

getObjName() публичный метод

Generate names
public getObjName ( string $config = 'Name' ) : mixed
$config string
Результат mixed

getOptions() защищенный метод

Get the console command options.
protected getOptions ( ) : array
Результат array

makeMeta() защищенный метод

Generate the desired migration.
protected makeMeta ( ) : void
Результат void

makeMigration() защищенный метод

Generate the desired migration.
protected makeMigration ( ) : void
Результат void

makeModel() защищенный метод

Generate an Eloquent model, if the user wishes.
protected makeModel ( ) : void
Результат void

Описание свойств

$description защищенное свойство

The console command description.
protected string $description
Результат string

$meta защищенное свойство

Meta information for the requested migration.
protected array $meta
Результат array

$name защищенное свойство

The console command name!
protected string $name
Результат string