PHP Class Laralib\L5scaffold\Makes\MakeMigration

Inheritance: use trait MakerTrait
Afficher le fichier Open project: laralib/l5scaffold

Protected Properties

Свойство Type Description
$scaffoldCommandObj Laralib\L5scaffold\Commands\ScaffoldMakeCommand Store scaffold command.

Méthodes publiques

Méthode Description
__construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void Create a new instance.

Méthodes protégées

Méthode Description
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.

Method Details

__construct() public méthode

Create a new instance.
public __construct ( ScaffoldMakeCommand $scaffoldCommand, Illuminate\Filesystem\Filesystem $files ) : void
$scaffoldCommand Laralib\L5scaffold\Commands\ScaffoldMakeCommand
$files Illuminate\Filesystem\Filesystem
Résultat void

compileMigrationStub() protected méthode

Compile the migration stub.
protected compileMigrationStub ( ) : string
Résultat string

getPath() protected méthode

Get the path to where we should store the migration.
protected getPath ( string $name ) : string
$name string
Résultat string

replaceSchema() protected méthode

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

start() protected méthode

Start make migration.
protected start ( ) : void
Résultat void

Property Details

$scaffoldCommandObj protected_oe property

Store scaffold command.
protected ScaffoldMakeCommand,Laralib\L5scaffold\Commands $scaffoldCommandObj
Résultat Laralib\L5scaffold\Commands\ScaffoldMakeCommand