Class Match
A Match is the result of MatcherInterface::match($actual).
public
#
__construct( boolean $isMatch, mixed $expected, mixed $actual, boolean $isNegated )
Parameters
- $isMatch
- $expected
- $actual
- $isNegated
public
boolean
public
mixed
public
mixed
#
getExpected( )
Get the expected value used in the match.
Get the expected value used in the match.
Returns
mixed
public
boolean
public
mixed
public
mixed
#
$this
setExpected( mixed $expected )
Set the expected value used in the match.
Set the expected value used in the match.
Parameters
- $expected
Returns
mixed
$this