Spamworldpro Mini Shell
Spamworldpro


Server : Apache
System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64
User : corals ( 1002)
PHP Version : 7.4.33
Disable Function : exec,passthru,shell_exec,system
Directory :  /home/corals/demo.cartinsight.co/vendor/spatie/ray/src/Payloads/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : /home/corals/demo.cartinsight.co/vendor/spatie/ray/src/Payloads/CallerPayload.php
<?php

namespace Spatie\Ray\Payloads;

use Spatie\Backtrace\Frame;
use Spatie\Ray\Concerns\RemovesRayFrames;

class CallerPayload extends Payload
{
    use RemovesRayFrames;

    /** @var array */
    protected $frames;

    public function __construct(array $frames)
    {
        $this->frames = $this->removeRayFrames($frames);
    }

    public function getType(): string
    {
        return 'caller';
    }

    public function getContent(): array
    {
        $frames = array_slice($this->frames, 1, 1);

        /** @var Frame $frame */
        $frame = array_values($frames)[0];

        return [
            'frame' => [
                'file_name' => $this->replaceRemotePathWithLocalPath($frame->file),
                'line_number' => $frame->lineNumber,
                'class' => $frame->class,
                'method' => $frame->method,
                'vendor_frame' => ! $frame->applicationFrame,
            ],
        ];
    }
}

Spamworldpro Mini