MigrationCreator
class MigrationCreator (View source)
Methods
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.