PHP Class Symfony\Component\VarDumper\Caster\ExceptionCaster

Author: Nicolas Grekas ([email protected])
Exibir arquivo Open project: symfony/var-dumper Class Usage Examples

Public Properties

Property Type Description
$errorTypes
$srcContext
$traceArgs

Public Methods

Method Description
castError ( Error $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested, $filter )
castErrorException ( ErrorException $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
castException ( Exception $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested, $filter )
castFrameStub ( Symfony\Component\VarDumper\Caster\FrameStub $frame, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
castThrowingCasterException ( Symfony\Component\VarDumper\Exception\ThrowingCasterException $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
castTraceStub ( Symfony\Component\VarDumper\Caster\TraceStub $trace, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )

Private Methods

Method Description
extractSource ( $srcLines, $line, $srcContext, $title, $lang, $file = null )
filterExceptionArray ( $xClass, array $a, $xPrefix, $filter )
traceUnshift ( &$trace, $class, $file, $line )

Method Details

castError() public static method

public static castError ( Error $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested, $filter )
$e Error
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

castErrorException() public static method

public static castErrorException ( ErrorException $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
$e ErrorException
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

castException() public static method

public static castException ( Exception $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested, $filter )
$e Exception
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

castFrameStub() public static method

public static castFrameStub ( Symfony\Component\VarDumper\Caster\FrameStub $frame, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
$frame Symfony\Component\VarDumper\Caster\FrameStub
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

castThrowingCasterException() public static method

public static castThrowingCasterException ( Symfony\Component\VarDumper\Exception\ThrowingCasterException $e, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
$e Symfony\Component\VarDumper\Exception\ThrowingCasterException
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

castTraceStub() public static method

public static castTraceStub ( Symfony\Component\VarDumper\Caster\TraceStub $trace, array $a, Symfony\Component\VarDumper\Cloner\Stub $stub, $isNested )
$trace Symfony\Component\VarDumper\Caster\TraceStub
$a array
$stub Symfony\Component\VarDumper\Cloner\Stub

Property Details

$errorTypes public_oe static_oe property

public static $errorTypes

$srcContext public_oe static_oe property

public static $srcContext

$traceArgs public_oe static_oe property

public static $traceArgs