src/Neutrino/Database/Migrations/Migrator.php
public function getMigrationFiles($paths)
    {
        $paths = array_map(function ($path) {
            return glob($path . '/*_*.php');
        }, (array)$paths);

        $paths = array_filter(Arr::collapse($paths));

        $migrations = [];
        foreach ($paths as $path) {
            $migrations[$this->getMigrationName($path)] = $path;
        }

        ksort($migrations, SORT_REGULAR);

        return $migrations;
    }
public function getMigrationFiles($paths)
    {
        $paths = array_map(function ($path) {
            return glob($path . '/*_*.php');
        }, (array)$paths);

        $paths = array_filter(Arr::collapse($paths));

        $migrations = [];
        foreach ($paths as $path) {
            $migrations[$this->getMigrationName($path)] = $path;
        }

        ksort($migrations, SORT_REGULAR);

        return $migrations;
    }
Get all of the migration files in a given path.

@param  string|array $paths

@return array