Back | Home
الـ Path الحالي: /home/picotech/domains/instantly.picotech.app/public_html/vendor/theseer/../egulias/../egulias/../brick/../composer/../composer/semver/../../league/../guzzlehttp/../fakerphp/./../nette/schema/./../../phpunit/../././ezyang/../spatie/laravel-ignition/src/FlareMiddleware
الملفات الموجودة في هذا الـ Path:
.
..
AddDumps.php
AddEnvironmentInformation.php
AddExceptionInformation.php
AddJobs.php
AddLogs.php
AddNotifierName.php
AddQueries.php

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

<?php

namespace Spatie\LaravelIgnition\FlareMiddleware;

use Closure;
use Spatie\FlareClient\FlareMiddleware\FlareMiddleware;
use Spatie\FlareClient\Report;
use Spatie\LaravelIgnition\Recorders\DumpRecorder\DumpRecorder;

class AddDumps implements FlareMiddleware
{
    protected DumpRecorder $dumpRecorder;

    public function __construct()
    {
        $this->dumpRecorder = app(DumpRecorder::class);
    }

    public function handle(Report $report, Closure $next)
    {
        $report->group('dumps', $this->dumpRecorder->getDumps());

        return $next($report);
    }
}