Your IP : 3.139.86.53


Current Path : /home/lentoinv/api.lentoria.com/vendor/spatie/laravel-ignition/src/Recorders/DumpRecorder/
Upload File :
Current File : /home/lentoinv/api.lentoria.com/vendor/spatie/laravel-ignition/src/Recorders/DumpRecorder/Dump.php

<?php

namespace Spatie\LaravelIgnition\Recorders\DumpRecorder;

class Dump
{
    protected string $htmlDump;

    protected ?string $file;

    protected ?int $lineNumber;

    protected float $microtime;

    public function __construct(string $htmlDump, ?string $file, ?int $lineNumber, ?float $microtime = null)
    {
        $this->htmlDump = $htmlDump;
        $this->file = $file;
        $this->lineNumber = $lineNumber;
        $this->microtime = $microtime ?? microtime(true);
    }

    /** @return array<string, mixed> */
    public function toArray(): array
    {
        return [
            'html_dump' => $this->htmlDump,
            'file' => $this->file,
            'line_number' => $this->lineNumber,
            'microtime' => $this->microtime,
        ];
    }
}

?>