class Illuminate / Database / MigrationServiceProvider
You are viewing an older version of the documentation. For the latest, please visit master documentation.

MigrationServiceProvider

Extends

Implements

Properties

protected

$commands array

The commands to be registered.

Default: array

Methods

public

register ( ) : void

Register the service provider.

protected

registerRepository ( ) : void

Register the migration repository service.

protected

registerMigrator ( ) : void

Register the migrator service.

protected

registerCreator ( ) : void

Register the migration creator.

protected

registerCommands ( array $commands ) : void

Register the given commands.

Parameters

  • $commands array
protected

registerMigrateCommand ( ) : void

Register the command.

protected

registerMigrateFreshCommand ( ) : void

Register the command.

protected

registerMigrateInstallCommand ( ) : void

Register the command.

protected

registerMigrateMakeCommand ( ) : void

Register the command.

protected

registerMigrateRefreshCommand ( ) : void

Register the command.

protected

registerMigrateResetCommand ( ) : void

Register the command.

protected

registerMigrateRollbackCommand ( ) : void

Register the command.

protected

registerMigrateStatusCommand ( ) : void

Register the command.

public

provides ( ) : array

Get the services provided by the provider.