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 {#1351 name: "accommodation_request" type_class: "App\Form\AccommodationRequestType" data: App\Entity\AccommodationRequest {#924 -id: null -checkInDate: DateTime @1770076800 {#1740 date: 2026-02-03 00:00:00.0 UTC (+00:00) } -checkOutDate: DateTime @1801526400 {#1799 date: 2027-02-02 00:00:00.0 UTC (+00:00) } -diplomaSchool: "123" -diplomaYear: 2006 -diplomaGrade: "123" -academicYear: "2025/2026" -university: "123" -faculty: "123" -degreeCourse: "1234" -uploadDir: null -readmission: false -privacyAccepted: true -datetimeCreation: null -property: App\Entity\Property {#943 …} -candidate: App\Entity\Candidate {#1035 …} -stayType: App\Entity\StayType {#1016 …} -studentType: App\Entity\StudentType {#1808 …} -status: null -annotations: Doctrine\Common\Collections\ArrayCollection {#934 …} -accommodationRequestDocuments: Doctrine\Common\Collections\ArrayCollection {#931 …} -logs: Doctrine\Common\Collections\ArrayCollection {#926 …} } } "constraints" => null "groups" => null ]