protected function alreadyExistingMigrations() { $matchingFiles = glob($this->getMigrationPath('*')); return array_map(function ($path) { return basename($path); }, $matchingFiles); }