<?php namespace Symfony\Component\Serializer\Context\Normalizer; use Symfony\Component\Serializer\Context\ContextBuilderInterface; use Symfony\Component\Serializer\Context\ContextBuilderTrait; use Symfony\Component\Serializer\Normalizer\ConstraintViolationListNormalizer; final class ConstraintViolationListNormalizerContextBuilder implements ContextBuilderInterface { use ContextBuilderTrait; public function withInstance(mixed $instance): static { return $this->with(ConstraintViolationListNormalizer::INSTANCE, $instance); } public function withStatus(?int $status): static { return $this->with(ConstraintViolationListNormalizer::STATUS, $status); } public function withTitle(?string $title): static { return $this->with(ConstraintViolationListNormalizer::TITLE, $title); } public function withType(?string $type): static { return $this->with(ConstraintViolationListNormalizer::TYPE, $type); } public function withPayloadFields(?array $payloadFields): static { return $this->with(ConstraintViolationListNormalizer::PAYLOAD_FIELDS, $payloadFields); } }