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 {#742 name: "contact" type_class: "App\Form\ContactType" data: App\Entity\Contact {#697 -id: null -Nom: "Dian" -Prenom: "Dian" -Email: "info@point-pneus.fr" -Telephone: "7738874971" -Sujet: "Point Pneus - Pneus neufs et d'occasions" -Message: """ Good Morning \r\n \r\n I wanted to reach out and let you know about our new dog harness. It's really easy to put on and take off - in just 2 seconds - and it's personalized for each dog. \r\n Plus, we offer a lifetime warranty so you can be sure your pet is always safe and stylish.\r\n \r\n We've had a lot of success with it so far and I think your dog would love it. \r\n \r\n Get yours today with 50% OFF: https://caredogbest.com\r\n \r\n FREE Shipping - TODAY ONLY! \r\n \r\n Cheers, \r\n \r\n Dian """ } } "constraints" => null "groups" => null ]