src/Migrator.php
public function getMigrationsToRun()
    {
        $allMigrations = $this->getAllMigrations();

        $ranMigrations = $this->getRanMigrations();

        return array_diff($allMigrations, $ranMigrations);
    }
public function getMigrationsToRun()
    {
        $allMigrations = $this->getAllMigrations();

        $ranMigrations = $this->getRanMigrations();

        return array_diff($allMigrations, $ranMigrations);
    }
public function getMigrationsToRun ( ) { $ allMigrations = $ this -> getAllMigrations ( ) ; $ ranMigrations = $ this -> getRanMigrations ( ) ; return array_diff ( $ allMigrations , $ ranMigrations ) ; }
Get array of migrations that should be ran.

@return array
Get array of migrations that should be ran .