ok

Mini Shell

Direktori : /home2/selectio/www/3-idiots/vendor/facade/ignition/src/Middleware/
Upload File :
Current File : /home2/selectio/www/3-idiots/vendor/facade/ignition/src/Middleware/AddLogs.php

<?php

namespace Facade\Ignition\Middleware;

use Facade\FlareClient\Report;
use Facade\Ignition\LogRecorder\LogRecorder;

class AddLogs
{
    /** @var \Facade\Ignition\LogRecorder\LogRecorder */
    protected $logRecorder;

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

    public function handle(Report $report, $next)
    {
        $report->group('logs', $this->logRecorder->getLogMessages());

        return $next($report);
    }
}

Zerion Mini Shell 1.0