Menu

## SpecificMajorAndMinorVersionConstraint extends AbstractVersionConstraint
in package

SpecificMajorAndMinorVersionConstraint.php : 12

### Table of Contents

$major : int
$minor : int
$originalValue : string
__construct() : mixed
asString() : string
complies() : bool

### Properties

#### $major

SpecificMajorAndMinorVersionConstraint.php : 14
`private int $major`

#### $minor

SpecificMajorAndMinorVersionConstraint.php : 17
`private int $minor`

#### $originalValue

AbstractVersionConstraint.php : 14
`private string $originalValue`

### Methods

#### __construct()

SpecificMajorAndMinorVersionConstraint.php : 19
`public __construct(string $originalValue, int $major, int $minor) : mixed`

##### Parameters

$originalValue : string
$major : int
$minor : int

##### Return values

mixed —

#### asString()

AbstractVersionConstraint.php : 20
`public asString() : string`

##### Return values

string —

#### complies()

SpecificMajorAndMinorVersionConstraint.php : 26
`public complies(Version $version) : bool`

##### Parameters

$version : Version

##### Return values

bool —

## Search results