protected function TestCase::getPackage in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php \Composer\Installers\Test\TestCase::getPackage()
1 call to TestCase::getPackage()
- GravInstallerTest::testInflectPackageVars in vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ GravInstallerTest.php
File
- vendor/
composer/ installers/ tests/ Composer/ Installers/ Test/ TestCase.php, line 42
Class
Namespace
Composer\Installers\TestCode
protected function getPackage($name, $version) {
$normVersion = self::getVersionParser()
->normalize($version);
return new Package($name, $normVersion, $version);
}