Documentation

Requirement
in package

Read onlyYes
AbstractYes
Tags
immutable
no-named-arguments

Parameter names are not covered by the backward compatibility promise for PHPUnit

Table of Contents

Constants

VERSION_COMPARISON  : mixed = '/(?P<operator>[<>=!]{0,2})\s*(?P<version>[\d\....

Methods

asString()  : string
from()  : self
isSatisfiedBy()  : bool

Constants

VERSION_COMPARISON

private mixed VERSION_COMPARISON = '/(?P<operator>[<>=!]{0,2})\s*(?P<version>[\d\.-]+(dev|(RC|alpha|beta)[\d\.])?)[ \t]*\r?$/m'

Methods

asString()

public abstract asString() : string
Return values
string

isSatisfiedBy()

public abstract isSatisfiedBy(string $version) : bool
Parameters
$version : string
Return values
bool
On this page

Search results