public function getMigrationsLocations()
    {
        $migrationsLocations = [];
        foreach ($this->kernel->getBundles() as $bundle) {
            $migrationsLocation = $this->createMigrationsLocation($bundle);
            if ($this->filesystem->exists($migrationsLocation->getDirectory())) {
                $migrationsLocations[] = $migrationsLocation;
            }
        }

        return $migrationsLocations;
    }
public function getMigrationsLocations()
    {
        $migrationsLocations = [];
        foreach ($this->kernel->getBundles() as $bundle) {
            $migrationsLocation = $this->createMigrationsLocation($bundle);
            if ($this->filesystem->exists($migrationsLocation->getDirectory())) {
                $migrationsLocations[] = $migrationsLocation;
            }
        }

        return $migrationsLocations;
    }
public function getMigrationsLocations ( ) { $ migrationsLocations = [ ] ; foreach ( $ this -> kernel -> getBundles ( ) as $ bundle ) { $ migrationsLocation = $ this -> createMigrationsLocation ( $ bundle ) ; if ( $ this -> filesystem -> exists ( $ migrationsLocation -> getDirectory ( ) ) ) { $ migrationsLocations [ ] = $ migrationsLocation ; } } return $ migrationsLocations ; }
Gets possible locations of migration classes to allow multiple sources of migrations.

@return \Shopsys\MigrationBundle\Component\Doctrine\Migrations\MigrationsLocation[]
Gets possible locations of migration classes to allow multiple sources of migrations .