Validator calls
In
ValidationListener.php
line ():
No violations
if ($form->isRoot()) {
// Form groups are validated internally (FormValidator). Here we don't set groups as they are retrieved into the validator.
foreach ($this->validator->validate($form) as $violation) {
// Allow the "invalid" constraint to be put onto
// non-synchronized forms
$allowNonSynchronized = $violation->getConstraint() instanceof Form && Form::NOT_SYNCHRONIZED_ERROR === $violation->getCode();
[ "value" => Symfony\Component\Form\Form {#767 name: "guest_type_by_event_location" type_class: "App\Form\GuestForms\GuestTypeByEventLocation" data: App\Entity\Guest {#426 -id: null -name: "* * * 🎁 Ваша награда ждёт вас! Для получения подарка перейдите по ссылке: http://kethvisri.com/?gieiey 🎁 * * *" -event: App\Entity\Event {#701 …} -phone: null -email: "[email protected]" } } "constraints" => null "groups" => null ]