SyntheticError
class SyntheticError extends AssertionFailedError (View source)
Creates a synthetic failed assertion.
Properties
protected array | $serializableTrace | from 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.
string
getSyntheticFile()
No description
int
getSyntheticLine()
No description
array
getSyntheticTrace()
No description
Details
at line 48
__construct($message, $code, string $file, int $line, array $trace)
Constructor.
array
getSerializableTrace()
Returns the serializable trace (without 'args').
in AssertionFailedError at line 23
string
toString()
Wrapper for getMessage() which is declared as final.