class MigrationCreator
Properties
protected Filesystem | $files | The filesystem instance. |
|
|
protected Paths | $paths |
|
Methods
string
create(string $name, string $extension = null, string $table = null, bool $create = false)
Create a new migration for the given extension.
Details
at
line 50
string
create(string $name, string $extension = null, string $table = null, bool $create = false)
Create a new migration for the given extension.
at
line 70
protected string
getStub(string $table, bool $create)
Get the migration stub file.
at
line 91
protected string
populateStub(string $stub, string $table)
Populate the place-holders in the migration stub.
at
line 106
protected string
getMigrationPath(string $extension)
Get the full path name to the migration directory.
at
line 122
protected string
getPath(string $name, string $path)
Get the full path name to the migration.
at
line 132
protected string
getDatePrefix()
Get the date prefix for the migration.
at
line 142
protected string
getStubPath()
Get the path to the stubs.