You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
380 B
21 lines
380 B
<?php |
|
|
|
namespace Facade\FlareClient\Context; |
|
|
|
class ConsoleContext implements ContextInterface |
|
{ |
|
/** @var array */ |
|
private $arguments = []; |
|
|
|
public function __construct(array $arguments = []) |
|
{ |
|
$this->arguments = $arguments; |
|
} |
|
|
|
public function toArray(): array |
|
{ |
|
return [ |
|
'arguments' => $this->arguments, |
|
]; |
|
} |
|
}
|
|
|