%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /var/www/html/hrsys/api/vendor/facade/ignition/src/Middleware/
Upload File :
Create Path :
Current File : /var/www/html/hrsys/api/vendor/facade/ignition/src/Middleware/CustomizeGrouping.php

<?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);
    }
}

Zerion Mini Shell 1.0