protected function getStatusFor(array $ran)
    {
        return array_map(function ($migration) use ($ran) {
            $migrationName = $this->migrator->getMigrationName($migration);

            return [
                'Ran?'      => in_array($migrationName, $ran)
                    ? Decorate::info('Y')
                    : Decorate::apply('N', 'red'),
                'Migration' => $migrationName
            ];
        }, $this->getAllMigrationFiles());
    }
protected function getStatusFor(array $ran)
    {
        return array_map(function ($migration) use ($ran) {
            $migrationName = $this->migrator->getMigrationName($migration);

            return [
                'Ran?'      => in_array($migrationName, $ran)
                    ? Decorate::info('Y')
                    : Decorate::apply('N', 'red'),
                'Migration' => $migrationName
            ];
        }, $this->getAllMigrationFiles());
    }
protected function getStatusFor ( array $ ran ) { return array_map ( function ( $ migration ) use ( $ ran ) { $ migrationName = $ this -> migrator -> getMigrationName ( $ migration ) ; return [ 'Ran?' => in_array ( $ migrationName , $ ran ) ? Decorate :: info ( 'Y' ) : Decorate :: apply ( 'N' , 'red' ) , 'Migration' => $ migrationName ] ; } , $ this -> getAllMigrationFiles ( ) ) ; }
Get the status for the given ran migrations.

@param array $ran

@return array
Get the status for the given ran migrations .