Documentation

Requirement
in package

AbstractYes
Tags
psalm-immutable
no-named-arguments

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

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
string

isSatisfiedBy()

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

        
On this page

Search results