ContextBuilderInterface|array<string, mixed> $context:
public function withContext(ContextBuilderInterface|array $context) : static { if ($context instanceof ContextBuilderInterface) { $context = $context->toArray(); } $instance = new static(); $instance->context = array_merge($this->context, $context); return $instance; }