A helper providing autocompletion for available ConstraintViolationList options.
- author Mathias Arlaud
CloneableFinalInstantiable
Methods |
public toArray() : array
|
public withContext(Symfony
|
public withInstance(?mixed $instance) : static Configure the instance field of normalized data. |
public withPayloadFields(?array $payloadFields) : static Configures the payload fields which will act as an allowlist for the payload field of normalized data. Eg: ['foo', 'bar']
|
public withStatus(?int $status) : static Configure the status field of normalized data. |
public withTitle(?string $title) : static Configure the title field of normalized data. |
public withType(?string $type) : static Configure the type field of normalized data. |
Methods |
protected with(string $key, ?mixed $value) : static |
Properties |
private array $context = []
|