4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\VarDumper\Caster;
14 use Symfony\Component\VarDumper\Cloner\Stub;
17 * Represents a backtrace as returned by debug_backtrace() or Exception->getTrace().
19 * @author Nicolas Grekas <p@tchwork.com>
21 class TraceStub extends Stub
26 public $numberingOffset;
28 public function __construct(array $trace, $keepArgs = true, $sliceOffset = 0, $sliceLength = null, $numberingOffset = 0)
30 $this->value = $trace;
31 $this->keepArgs = $keepArgs;
32 $this->sliceOffset = $sliceOffset;
33 $this->sliceLength = $sliceLength;
34 $this->numberingOffset = $numberingOffset;