JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr{ gilour

File "CustomizeGrouping.php"

Full Path: /var/www/lionsclub/core/vendor/facade/ignition/src/Middleware/CustomizeGrouping.php
File size: 531 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace Facade\Ignition\Middleware;

use Facade\FlareClient\Enums\GroupingTypes;
use Facade\FlareClient\Report;

class CustomizeGrouping
{
    protected $groupingType;

    public function __construct($groupingType)
    {
        $this->groupingType = $groupingType;
    }

    public function handle(Report $report, $next)
    {
        $report->groupByTopFrame();

        if ($this->groupingType === GroupingTypes::EXCEPTION) {
            $report->groupByException();
        }

        return $next($report);
    }
}