HasContext
trait HasContext
Properties
| protected array<string, mixed> | $context |
Methods
withContext(array|string $key, mixed $value = null)
Set the API request/response context.
mixed
context(string|null $key = null, mixed $default = null)
Get the API request/response context.
Details
at line 19
HasContext
withContext(array|string $key, mixed $value = null)
Set the API request/response context.
at line 35
mixed
context(string|null $key = null, mixed $default = null)
Get the API request/response context.