%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /www/loslex/demo/vendor/spatie/laravel-ignition/src/FlareMiddleware/
Upload File :
Create Path :
Current File : /www/loslex/demo/vendor/spatie/laravel-ignition/src/FlareMiddleware/AddEnvironmentInformation.php

<?php

namespace Spatie\LaravelIgnition\FlareMiddleware;

use Closure;
use Spatie\FlareClient\FlareMiddleware\FlareMiddleware;
use Spatie\FlareClient\Report;

class AddEnvironmentInformation implements FlareMiddleware
{
    public function handle(Report $report, Closure $next)
    {
        $report->frameworkVersion(app()->version());

        $report->group('env', [
            'laravel_version' => app()->version(),
            'laravel_locale' => app()->getLocale(),
            'laravel_config_cached' => app()->configurationIsCached(),
            'app_debug' => config('app.debug'),
            'app_env' => config('app.env'),
            'php_version' => phpversion(),
        ]);

        return $next($report);
    }
}

Zerion Mini Shell 1.0