SpecificMajorVersionConstraint
extends AbstractVersionConstraint
in package
Table of Contents
Properties
- $major : int
- $originalValue : string
Methods
- __construct() : mixed
- asString() : string
- complies() : bool
Properties
$major
private
int
$major
$originalValue
private
string
$originalValue
Methods
__construct()
public
__construct(string $originalValue, int $major) : mixed
Parameters
- $originalValue : string
- $major : int
asString()
public
asString() : string
Return values
stringcomplies()
public
complies(Version $version) : bool
Parameters
- $version : Version