public static function migrateUp(Event $event)
    {
        $dir = self::getRootDir().'DoctrineMigrations';
        if (self::isHaveMigrations($dir)) {
            self::repackMigrations($dir);
            self::executeCommand('doctrine:migrations:migrate --no-interaction', $event->getIO());
        }
    }
public static function migrateUp(Event $event)
    {
        $dir = self::getRootDir().'DoctrineMigrations';
        if (self::isHaveMigrations($dir)) {
            self::repackMigrations($dir);
            self::executeCommand('doctrine:migrations:migrate --no-interaction', $event->getIO());
        }
    }
public static function migrateUp ( Event $ event ) { $ dir = self :: getRootDir ( ) . 'DoctrineMigrations' ; if ( self :: isHaveMigrations ( $ dir ) ) { self :: repackMigrations ( $ dir ) ; self :: executeCommand ( 'doctrine:migrations:migrate --no-interaction' , $ event -> getIO ( ) ) ; } }
Migrate all plugins to up.

@param Event $event
Migrate all plugins to up .