Documentation

NotAnyOf extends MatcherAbstract
in package

Table of Contents

$_expected  : mixed
The expected value (or part thereof)
__construct()  : mixed
Set the expected value
__toString()  : string
Return a string representation of this Matcher
match()  : bool
Check if the actual value does not match the expected (in this case it's specifically NOT expected).

Properties

$_expected

The expected value (or part thereof)

protected mixed $_expected = null

Methods

__construct()

Set the expected value

public __construct([mixed $expected = null ]) : mixed
Parameters
$expected : mixed = null
Return values
mixed

__toString()

Return a string representation of this Matcher

public __toString() : string
Return values
string

match()

Check if the actual value does not match the expected (in this case it's specifically NOT expected).

public match(mixed &$actual) : bool
Parameters
$actual : mixed
Return values
bool

Search results