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