ComparisonFailure
extends RuntimeException
in package
FinalYes
Table of Contents
Properties
- $actual : mixed
- $actualAsString : string
- $expected : mixed
- $expectedAsString : string
Methods
- __construct() : mixed
- getActual() : mixed
- getActualAsString() : string
- getDiff() : string
- getExpected() : mixed
- getExpectedAsString() : string
- toString() : string
Properties
$actual
private
mixed
$actual
$actualAsString
private
string
$actualAsString
$expected
private
mixed
$expected
$expectedAsString
private
string
$expectedAsString
Methods
__construct()
public
__construct(mixed $expected, mixed $actual, string $expectedAsString, string $actualAsString[, string $message = '' ]) : mixed
Parameters
- $expected : mixed
- $actual : mixed
- $expectedAsString : string
- $actualAsString : string
- $message : string = ''
getActual()
public
getActual() : mixed
getActualAsString()
public
getActualAsString() : string
Return values
stringgetDiff()
public
getDiff() : string
Return values
stringgetExpected()
public
getExpected() : mixed
getExpectedAsString()
public
getExpectedAsString() : string
Return values
stringtoString()
public
toString() : string