protected function convertDependency($dependency, $version, array &$vcsRepos, array $composer)
    {
        list($dependency, $version) = PackageUtil::checkUrlVersion($this->assetType, $dependency, $version, $vcsRepos, $composer);
        list($dependency, $version) = PackageUtil::checkAliasVersion($this->assetType, $dependency, $version);
        list($dependency, $version) = PackageUtil::convertDependencyVersion($this->assetType, $dependency, $version);

        return array($dependency, $version);
    }
protected function convertDependency($dependency, $version, array &$vcsRepos, array $composer)
    {
        list($dependency, $version) = PackageUtil::checkUrlVersion($this->assetType, $dependency, $version, $vcsRepos, $composer);
        list($dependency, $version) = PackageUtil::checkAliasVersion($this->assetType, $dependency, $version);
        list($dependency, $version) = PackageUtil::convertDependencyVersion($this->assetType, $dependency, $version);

        return array($dependency, $version);
    }
protected function convertDependency ( $ dependency , $ version , array & $ vcsRepos , array $ composer ) { list ( $ dependency , $ version ) = PackageUtil :: checkUrlVersion ( $ this -> assetType , $ dependency , $ version , $ vcsRepos , $ composer ) ; list ( $ dependency , $ version ) = PackageUtil :: checkAliasVersion ( $ this -> assetType , $ dependency , $ version ) ; list ( $ dependency , $ version ) = PackageUtil :: convertDependencyVersion ( $ this -> assetType , $ dependency , $ version ) ; return array ( $ dependency , $ version ) ; }
Convert the .

@param string $dependency The dependency
@param string $version    The version
@param array  $vcsRepos   The list of new vcs configs
@param array  $composer   The partial composer data

@return string[] The new dependency and the new version
Convert the .