MigrationServiceProvider::isDeferred()

bool isDeferred() Determine if the provider is deferred. Return Value bool

MigrationServiceProvider::compiles()

static array compiles() Get a list of files that should be compiled for the package. Return Value array

MigrationServiceProvider::commands()

void commands(array|mixed $commands) Register the package's custom Artisan commands. Parameters array|mixed $commands Return Value void

MigrationServiceProvider

MigrationServiceProvider class MigrationServiceProvider extends ServiceProvider (View source) Methods void __construct(Application $app) Create a new service provider instance. from ServiceProvider void register() Register the service provider. static array pathsToPublish(string $provider = null, string $group = null) Get the paths to publish. from ServiceProvider void commands(array|mixed $commands) Register the package's custom Artisan commands. from ServiceProvider array

MigrationRepositoryInterface::setSource()

void setSource(string $name) Set the information source to gather data. Parameters string $name Return Value void

MigrationRepositoryInterface::repositoryExists()

bool repositoryExists() Determine if the migration repository exists. Return Value bool

MigrationRepositoryInterface::log()

void log(string $file, int $batch) Log that a migration was run. Parameters string $file int $batch Return Value void

MigrationRepositoryInterface::getRan()

array getRan() Get the ran migrations for a given package. Return Value array

MigrationRepositoryInterface::getNextBatchNumber()

int getNextBatchNumber() Get the next migration batch number. Return Value int

MigrationRepositoryInterface::getMigrations()

array getMigrations(int $steps) Get list of migrations. Parameters int $steps Return Value array