Manager

Migration manager.
Methods Summary
public
# __construct( array $config , Doctrine\DBAL\Connection $conn , Zend\ServiceManager\ServiceLocatorInterface $serviceLocator )
Create the migration manager, passing configuration.
public
# setConfig( array $config )
Set config options from array.
public
# upgrade( )
Perform the upgrade operation on all pending migrations.
public
# recordMigration( string $version )
Record a migration as complete in the database.
public
# loadMigration( string $path , string $class )
Load a migration file and instantiate the class.
public
# getMigrationsToPerform( )
Get pending migrations.
public
# getCompletedMigrations( )
Get already-performed migrations.
public
# getAvailableMigrations( )
Get available migrations.
public
# getTranslator( )
Get the translator service return TranslatorInterface
protected
# clearDoctrineCache( )
Clear Doctrine's cache to prevent errors after upgrade.
Properties Summary
protected string $path
# NULL
protected string $namespace
# NULL
protected Zend\I18n\Translator\TranslatorInterface $translator
# NULL
protected Zend\ServiceManager\ServiceLocatorInterface $serviceLocator
# NULL
protected Doctrine\DBAL\Connection $conn
# NULL