You are here

protected function TestCase::getVersionConstraint in Zircon Profile 8

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

File

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

Class

TestCase

Namespace

Composer\Installers\Test

Code

protected function getVersionConstraint($operator, $version) {
  return new VersionConstraint($operator, self::getVersionParser()
    ->normalize($version));
}