class MigrationCreator (View source)
void | __construct( Filesystem $files) Create a new migration creator instance. | |
string | create( string $name, string $path, string $table = null, bool $create = false) Create a new migration at the given path. | |
void | afterCreate( Closure $callback) Register a post migration create hook. | |
string | getStubPath() Get the path to the stubs. | |
Filesystem | getFilesystem() Get the filesystem instance. |
Create a new migration creator instance.
Create a new migration at the given path.
Register a post migration create hook.
Get the path to the stubs.
Get the filesystem instance.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Database/Migrations/MigrationCreator.html