PHP Класс Laralib\L5scaffold\Makes\MakeMigration

Наследование: use trait MakerTrait
Показать файл Открыть проект

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

Свойство Тип Описание
$scaffoldCommandObj Laralib\L5scaffold\Commands\ScaffoldMakeCommand Store scaffold command.

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

Метод Описание
__construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void Create a new instance.

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

Метод Описание
compileMigrationStub ( ) : string Compile the migration stub.
getPath ( string $name ) : string Get the path to where we should store the migration.
replaceSchema ( string &$stub ) Replace the schema for the stub.
start ( ) : void Start make migration.

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

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

Create a new instance.
public __construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void
$scaffoldCommand Laralib\L5scaffold\Commands\ScaffoldMakeCommand
$files Illuminate\Filesystem\Filesystem
Результат void

compileMigrationStub() защищенный Метод

Compile the migration stub.
protected compileMigrationStub ( ) : string
Результат string

getPath() защищенный Метод

Get the path to where we should store the migration.
protected getPath ( string $name ) : string
$name string
Результат string

replaceSchema() защищенный Метод

Replace the schema for the stub.
protected replaceSchema ( string &$stub )
$stub string

start() защищенный Метод

Start make migration.
protected start ( ) : void
Результат void

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

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

Store scaffold command.
protected ScaffoldMakeCommand,Laralib\L5scaffold\Commands $scaffoldCommandObj
Результат Laralib\L5scaffold\Commands\ScaffoldMakeCommand