src/Command/MigrateCommand.php
private function getMigrationsPath($moduleInstance) {
        $migrationsDirName = $moduleInstance instanceof MigrationsConfigurationInterface
            ? $moduleInstance->migrationsDirectory()
            : self::DEFAULT_MIGRATIONS_DIR;
        $moduleMigratePath = $moduleInstance->basePath . DIRECTORY_SEPARATOR . $migrationsDirName;

        return $moduleMigratePath;
    }
private function getMigrationsPath($moduleInstance) {
        $migrationsDirName = $moduleInstance instanceof MigrationsConfigurationInterface
            ? $moduleInstance->migrationsDirectory()
            : self::DEFAULT_MIGRATIONS_DIR;
        $moduleMigratePath = $moduleInstance->basePath . DIRECTORY_SEPARATOR . $migrationsDirName;

        return $moduleMigratePath;
    }
@param \CModule $moduleInstance

@return string