/** * Gets an array of the database migrations. * * @return array */ private function doMigration() { $filesDone = $this->repository->getMigrationVersions(); $filesKnown = $this->reader->getFiles(); $filesForUpdate = $this->getFilesForUpdate($filesKnown, $filesDone); $classesForUpdate = $this->getMigrationClasses($filesForUpdate); $this->upAction($classesForUpdate); }