protected function getStatusFor(array $ran)
    {
        return Collection::make($this->getAllMigrationFiles())
            ->map(function ($migration) use ($ran) {
                $migrationName = $this->migrator->getMigrationName($migration);

                return in_array($migrationName, $ran)
                ? ['<info>Y</info>', $migrationName]
                : ['<fg=red>N</fg=red>', $migrationName];
            });
    }
protected function getStatusFor(array $ran)
    {
        return Collection::make($this->getAllMigrationFiles())
            ->map(function ($migration) use ($ran) {
                $migrationName = $this->migrator->getMigrationName($migration);

                return in_array($migrationName, $ran)
                ? ['<info>Y</info>', $migrationName]
                : ['<fg=red>N</fg=red>', $migrationName];
            });
    }
protected function getStatusFor ( array $ ran ) { return Collection :: make ( $ this -> getAllMigrationFiles ( ) ) -> map ( function ( $ migration ) use ( $ ran ) { $ migrationName = $ this -> migrator -> getMigrationName ( $ migration ) ; return in_array ( $ migrationName , $ ran ) ? [ '<info>Y</info>' , $ migrationName ] : [ '<fg=red>N</fg=red>' , $ migrationName ] ; } ) ; }
Get the status for the given ran migrations.

@param  array  $ran
@return \Illuminate\Support\Collection
Get the status for the given ran migrations .