Requirement
in package
AbstractYes
Tags
Table of Contents
Constants
- VERSION_COMPARISON = '/(?P<operator>[<>=!]{0,2})\s*(?P<version>[\d\.-]+(dev|(RC|alpha|beta)[\d\.])?)[ \t]*\r?$/m'
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
stringfrom()
public
static from(string $versionRequirement) : self
Parameters
- $versionRequirement : string
Tags
Return values
selfisSatisfiedBy()
public
abstract isSatisfiedBy(string $version) : bool
Parameters
- $version : string