public function getMigrations()
    {
        $migrations = [];

        /* @var $migrationName Migration */
        foreach ($this->getMigrationsClasses() as $appName => $classes) {
            foreach ($classes as $fileName) {
                $migrationName = $fileName;
                $migration = $migrationName::createObject($fileName);
                $migration->setAppLabel($appName);
                $this->setMigratedApps($appName);
                $migrations[$fileName] = $migration;
            }
        }

        return $migrations;
    }
public function getMigrations()
    {
        $migrations = [];

        /* @var $migrationName Migration */
        foreach ($this->getMigrationsClasses() as $appName => $classes) {
            foreach ($classes as $fileName) {
                $migrationName = $fileName;
                $migration = $migrationName::createObject($fileName);
                $migration->setAppLabel($appName);
                $this->setMigratedApps($appName);
                $migrations[$fileName] = $migration;
            }
        }

        return $migrations;
    }
public function getMigrations ( ) { $ migrations = [ ] ; /* @var $migrationName Migration */ foreach ( $ this -> getMigrationsClasses ( ) as $ appName => $ classes ) { foreach ( $ classes as $ fileName ) { $ migrationName = $ fileName ; $ migration = $ migrationName :: createObject ( $ fileName ) ; $ migration -> setAppLabel ( $ appName ) ; $ this -> setMigratedApps ( $ appName ) ; $ migrations [ $ fileName ] = $ migration ; } } return $ migrations ; }
List of migration objects.

@return \Eddmash\PowerOrm\Migration\Migration[]

@throws ClassNotFoundException
@throws \Eddmash\PowerOrm\Exception\FileHandlerException
List of migration objects .