protected static function convertBrachVersion(AssetTypeInterface $assetType, $version)
    {
        $oldVersion = $version;
        $version = 'dev-'.$assetType->getVersionConverter()->convertVersion($version);

        if (!Validator::validateBranch($oldVersion)) {
            $version .= ' || '.$oldVersion;
        }

        return $version;
    }
protected static function convertBrachVersion(AssetTypeInterface $assetType, $version)
    {
        $oldVersion = $version;
        $version = 'dev-'.$assetType->getVersionConverter()->convertVersion($version);

        if (!Validator::validateBranch($oldVersion)) {
            $version .= ' || '.$oldVersion;
        }

        return $version;
    }
protected static function convertBrachVersion ( AssetTypeInterface $ assetType , $ version ) { $ oldVersion = $ version ; $ version = 'dev-' . $ assetType -> getVersionConverter ( ) -> convertVersion ( $ version ) ; if ( ! Validator :: validateBranch ( $ oldVersion ) ) { $ version .= ' || ' . $ oldVersion ; } return $ version ; }
Convert the dependency branch version.

@param AssetTypeInterface $assetType The asset type
@param string             $version   The version

@return string
Convert the dependency branch version .