Migrator::getMigrationName()

string getMigrationName(string $path) Get the name of the migration. Parameters string $path Return Value string

Migrator::getMigrationFiles()

array getMigrationFiles(string|array $paths) Get all of the migration files in a given path. Parameters string|array $paths Return Value array

Migrator::getFilesystem()

Filesystem getFilesystem() Get the file system instance. Return Value Filesystem

Migrator

Migrator class Migrator (View source) Methods void __construct(MigrationRepositoryInterface $repository, ConnectionResolverInterface $resolver, Filesystem $files) Create a new migrator instance. array run(array|string $paths = array(), array $options = array()) Run the outstanding migrations at a given path. void runMigrationList(array $migrations, array $options = array()) Run an array of migrations. array rollback(array|string $paths = array(), array $options = array()) R

MigrationServiceProvider::__construct()

void __construct(Application $app) Create a new service provider instance. Parameters Application $app Return Value void

MigrationServiceProvider::__call()

mixed __call(string $method, array $parameters) Dynamically handle missing method calls. Parameters string $method array $parameters Return Value mixed Exceptions BadMethodCallException

MigrationServiceProvider::when()

array when() Get the events that trigger this service provider to register. Return Value array

MigrationServiceProvider::register()

void register() Register the service provider. Return Value void

MigrationServiceProvider::provides()

array provides() Get the services provided by the provider. Return Value array

MigrationServiceProvider::pathsToPublish()

static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. Parameters string $provider string $group Return Value array