InstalledVersions::satisfies( $parser,  $packageName,  $constraint )


Source Source

File: vendor/composer/InstalledVersions.php

public static function satisfies(VersionParser $parser, $packageName, $constraint)
{
$constraint = $parser->parseConstraints($constraint);
$provided = $parser->parseConstraints(self::getVersionRanges($packageName));

return $provided->matches($constraint);
}