bakalarska_praca/database/vendor/spatie/flare-client-php/src/Context/ConsoleContextProvider.php

30 lines
540 B
PHP
Raw Permalink Normal View History

2023-05-11 19:57:12 +00:00
<?php
namespace Spatie\FlareClient\Context;
class ConsoleContextProvider implements ContextProvider
{
/**
* @var array<string, mixed>
*/
protected array $arguments = [];
/**
* @param array<string, mixed> $arguments
*/
public function __construct(array $arguments = [])
{
$this->arguments = $arguments;
}
/**
* @return array<int|string, mixed>
*/
public function toArray(): array
{
return [
'arguments' => $this->arguments,
];
}
}