You are here

protected function TestCase::getAliasPackage in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php \Composer\Installers\Test\TestCase::getAliasPackage()

File

vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php, line 49

Class

TestCase

Namespace

Composer\Installers\Test

Code

protected function getAliasPackage($package, $version) {
  $normVersion = self::getVersionParser()
    ->normalize($version);
  return new AliasPackage($package, $normVersion, $version);
}