Documentation

PHPUnit_Framework_Error extends PHPUnit_Framework_Exception
in package

Wrapper for PHP errors.

Tags
since

Class available since Release 2.2.0

Table of Contents

$serializableTrace  : array<string|int, mixed>
__construct()  : mixed
Constructor.
__sleep()  : mixed
__toString()  : string
getSerializableTrace()  : array<string|int, mixed>
Returns the serializable trace (without 'args').

Properties

$serializableTrace

protected array<string|int, mixed> $serializableTrace

Methods

__construct()

Constructor.

public __construct(string $message, int $code, string $file, int $line[, Exception $previous = null ]) : mixed
Parameters
$message : string
$code : int
$file : string
$line : int
$previous : Exception = null
Return values
mixed

__sleep()

public __sleep() : mixed
Return values
mixed

__toString()

public __toString() : string
Return values
string

getSerializableTrace()

Returns the serializable trace (without 'args').

public getSerializableTrace() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results