Home
last modified time | relevance | path

Searched refs:constraint (Results 1 – 2 of 2) sorted by last modified time

/dokuwiki/vendor/aziraphale/email-address-validator/
H A DREADME.md28 Note that this updated version is **version 2.0.0**. I have kept the original class tagged as **version 1.0.10** (it was the 10th commit to the Google Code svn repository). If you want to use Composer to install the **old** class, simply specify `^1` as the version constraint (which will allow for backwards-compatible changes to be installed, if any get made, while never jumping to my modified class without your direct action):
/dokuwiki/vendor/composer/
H A DInstalledVersions.php109 * Checks whether the given package satisfies a version constraint
117 * @param string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package
120 public static function satisfies(VersionParser $parser, $packageName, $constraint) argument
122 $constraint = $parser->parseConstraints((string) $constraint);
125 return $provided->matches($constraint);
129 * Returns a version constraint representing all the range(s) which are installed for a given package
131 * It is easier to use this via isInstalled() with the $constraint argument if you need to check
135 * @return string Version constraint usabl
[all...]