protected function getModuleMigrations($downloadPath, $moduleMigrationPath = 'asset/data')
    {
        $moduleMigrationPath = trim($moduleMigrationPath, '/');
        $moduleMigrations    = glob($downloadPath . '/' . $moduleMigrationPath . '/*.php');

        sort($moduleMigrations);
        return $moduleMigrations;
    }
protected function getModuleMigrations($downloadPath, $moduleMigrationPath = 'asset/data')
    {
        $moduleMigrationPath = trim($moduleMigrationPath, '/');
        $moduleMigrations    = glob($downloadPath . '/' . $moduleMigrationPath . '/*.php');

        sort($moduleMigrations);
        return $moduleMigrations;
    }
protected function getModuleMigrations ( $ downloadPath , $ moduleMigrationPath = 'asset/data' ) { $ moduleMigrationPath = trim ( $ moduleMigrationPath , '/' ) ; $ moduleMigrations = glob ( $ downloadPath . '/' . $ moduleMigrationPath . '/*.php' ) ; sort ( $ moduleMigrations ) ; return $ moduleMigrations ; }
Check if module have migrations files

@param  string $downloadPath        Module download path
@param  string $moduleMigrationPath Module migration path
it's relative to $download path and
any slash will be trimmed
@return bool
Check if module have migrations files