TraceStub

class TraceStub extends Stub

Represents a backtrace as returned by debug_backtrace() or Exception->getTrace().

Constants

TYPE_REF
TYPE_STRING
TYPE_ARRAY
TYPE_OBJECT
TYPE_RESOURCE
STRING_BINARY
STRING_UTF8
ARRAY_ASSOC
ARRAY_INDEXED

Properties

$type from Stub
$class from Stub
$value from Stub
$cut from Stub
$handle from Stub
$refCount from Stub
$position from Stub
$attr from Stub
$keepArgs
$sliceOffset
$sliceLength
$numberingOffset

Methods

serialize() from Stub
unserialize($serialized) from Stub
__construct(array $trace, bool $keepArgs = true, int $sliceOffset, int $sliceLength = null, int $numberingOffset)

Details

serialize()

unserialize($serialized)

Parameters

$serialized

__construct(array $trace, bool $keepArgs = true, int $sliceOffset, int $sliceLength = null, int $numberingOffset)

Parameters

array $trace
bool $keepArgs
int $sliceOffset
int $sliceLength
int $numberingOffset

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