ConstraintNearlyEqual
class ConstraintNearlyEqual extends BaseConstraint
Class ConstraintNearlyEqual
Methods
__construct($expression)
No description
bool
test(
string $version,
bool $strict = false)
Test if the version number is valid
from
BaseConstraint
string
normalize($version, $strict = false)
Normalize a version number in a version that will be used in version_compare
Details
at line 22
__construct($expression)
in
BaseConstraint at line 31
bool
test(
string $version,
bool $strict = false)
Test if the version number is valid
at line 27
string
normalize($version, $strict = false)
Normalize a version number in a version that will be used in version_compare