Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/public/./../app/.././../../finland.picotech.app/public_html/storage/../vendor/./phpoption/../telnyx/../nette/./../ramsey/../paypal/./../paytm/../phpdocumentor/../nesbot/../paragonie/sodium_compat/../../nunomaduro/../africastalking/../egulias/../league/../nwidart/../spatie/flare-client-php/src
الملفات الموجودة في هذا الـ Path:
.
..
Api.php
Concerns
Context
Contracts
Enums
Flare.php
FlareMiddleware
Frame.php
Glows
Http
Report.php
Solutions
Time
Truncation
View.php
helpers.php

مشاهدة ملف: Frame.php

<?php

namespace Spatie\FlareClient;

use Spatie\Backtrace\Frame as SpatieFrame;

class Frame
{
    public static function fromSpatieFrame(
        SpatieFrame $frame,
    ): self {
        return new self($frame);
    }

    public function __construct(
        protected SpatieFrame $frame,
    ) {
    }

    public function toArray(): array
    {
        return [
            'file' => $this->frame->file,
            'line_number' => $this->frame->lineNumber,
            'method' => $this->frame->method,
            'class' => $this->frame->class,
            'code_snippet' => $this->frame->getSnippet(30),
            'arguments' => $this->frame->arguments,
            'application_frame' => $this->frame->applicationFrame,
        ];
    }
}