SpecificMajorVersionConstraint
extends AbstractVersionConstraint
in package
Table of Contents
- $major : int
- $originalValue : string
- __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
Return values
mixed —asString()
public
asString() : string
Return values
string —complies()
public
complies(Version $version) : bool
Parameters
- $version : Version