class PHPUnit_Framework_SyntheticError extends PHPUnit_Framework_AssertionFailedError (View source)

Creates a synthetic failed assertion.

Properties

protected array $serializableTrace from PHPUnit_Framework_Exception
protected string $syntheticFile The synthetic file.
protected int $syntheticLine The synthetic line number.
protected array $syntheticTrace The synthetic trace.

Methods

__construct($message, $code, string $file, int $line, array $trace)

Constructor.

array
getSerializableTrace()

Returns the serializable trace (without 'args').

string
__toString()

No description

__sleep()

No description

string
toString()

Wrapper for getMessage() which is declared as final.

string
getSyntheticFile()

No description

int
getSyntheticLine()

No description

array
getSyntheticTrace()

No description

Details

__construct($message, $code, string $file, int $line, array $trace)

Constructor.

Parameters

$message
$code
string $file
int $line
array $trace

array getSerializableTrace()

Returns the serializable trace (without 'args').

Return Value

array

string __toString()

Return Value

string

string toString()

Wrapper for getMessage() which is declared as final.

Return Value

string

string getSyntheticFile()

Return Value

string

int getSyntheticLine()

Return Value

int

array getSyntheticTrace()

Return Value

array