protected function pendingMigrations($files, $ran)
    {
        return Collection::make($files)
                ->reject(function ($file) use ($ran) {
                    return in_array($this->getMigrationName($file), $ran);
                })->values()->all();
    }
protected function pendingMigrations($files, $ran)
    {
        return Collection::make($files)
                ->reject(function ($file) use ($ran) {
                    return in_array($this->getMigrationName($file), $ran);
                })->values()->all();
    }
protected function pendingMigrations ( $ files , $ ran ) { return Collection :: make ( $ files ) -> reject ( function ( $ file ) use ( $ ran ) { return in_array ( $ this -> getMigrationName ( $ file ) , $ ran ) ; } ) -> values ( ) -> all ( ) ; }
Get the migration files that have not yet run.

@param  array  $files
@param  array  $ran
@return array
Get the migration files that have not yet run .