ExceptionCaster

class ExceptionCaster

Casts common Exception classes to array representation.

Properties

static $traceArgs
static $errorTypes

Methods

static castError(Error $e, array $a, Stub $stub, $isNested, $filter)
static castException(Exception $e, array $a, Stub $stub, $isNested, $filter)
static castErrorException(ErrorException $e, array $a, Stub $stub, $isNested)
static castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, $isNested)
static filterTrace($trace, $dumpArgs, $offset)

Details

static castError(Error $e, array $a, Stub $stub, $isNested, $filter)

Parameters

Error $e
array $a
Stub $stub
$isNested
$filter

static castException(Exception $e, array $a, Stub $stub, $isNested, $filter)

Parameters

Exception $e
array $a
Stub $stub
$isNested
$filter

static castErrorException(ErrorException $e, array $a, Stub $stub, $isNested)

Parameters

ErrorException $e
array $a
Stub $stub
$isNested

static castThrowingCasterException(ThrowingCasterException $e, array $a, Stub $stub, $isNested)

Parameters

ThrowingCasterException $e
array $a
Stub $stub
$isNested

static filterTrace($trace, $dumpArgs, $offset)

Parameters

$trace
$dumpArgs
$offset

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/VarDumper/Caster/ExceptionCaster.html