Spaces:
Runtime error
Runtime error
Download symfony/var-dumper/Caster/TraceStub.php from Alcazard/vibe-coding-api: direct link, hf CLI and curl.
- Browser
- Download file 964 Bytes
-
https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/var-dumper/Caster/TraceStub.php
- Command line
-
hf download hf://spaces/Alcazard/vibe-coding-api/symfony/var-dumper/Caster/TraceStub.php
-
curl -L -o TraceStub.php https://huggingface.co/spaces/Alcazard/vibe-coding-api/resolve/main/symfony/var-dumper/Caster/TraceStub.php
964 Bytes
| /* | |
| * This file is part of the Symfony package. | |
| * | |
| * (c) Fabien Potencier <fabien@symfony.com> | |
| * | |
| * For the full copyright and license information, please view the LICENSE | |
| * file that was distributed with this source code. | |
| */ | |
| namespace Symfony\Component\VarDumper\Caster; | |
| use Symfony\Component\VarDumper\Cloner\Stub; | |
| /** | |
| * Represents a backtrace as returned by debug_backtrace() or Exception->getTrace(). | |
| * | |
| * @author Nicolas Grekas <p@tchwork.com> | |
| */ | |
| class TraceStub extends Stub | |
| { | |
| public $keepArgs; | |
| public $sliceOffset; | |
| public $sliceLength; | |
| public $numberingOffset; | |
| public function __construct(array $trace, bool $keepArgs = true, int $sliceOffset = 0, ?int $sliceLength = null, int $numberingOffset = 0) | |
| { | |
| $this->value = $trace; | |
| $this->keepArgs = $keepArgs; | |
| $this->sliceOffset = $sliceOffset; | |
| $this->sliceLength = $sliceLength; | |
| $this->numberingOffset = $numberingOffset; | |
| } | |
| } | |