first commit
This commit is contained in:
18
vendor/spatie/flare-client-php/src/FlareMiddleware/AddEnvironmentInformation.php
vendored
Normal file
18
vendor/spatie/flare-client-php/src/FlareMiddleware/AddEnvironmentInformation.php
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace Spatie\FlareClient\FlareMiddleware;
|
||||
|
||||
use Closure;
|
||||
use Spatie\FlareClient\Report;
|
||||
|
||||
class AddEnvironmentInformation implements FlareMiddleware
|
||||
{
|
||||
public function handle(Report $report, Closure $next)
|
||||
{
|
||||
$report->group('env', [
|
||||
'php_version' => phpversion(),
|
||||
]);
|
||||
|
||||
return $next($report);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user