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 {#1169 name: "house" type_class: "App\Form\Type\HouseSearchType" data: [ "dates" => null "from" => null "to" => null "flexible" => null "priceMinMax" => "1000,15000" "discount" => false "rentInWinter" => false "luxuryVillas" => false "regions" => [] "persons" => null "facility" => [ 2 ] "bedrooms" => null "bathrooms" => null "childrenFriendly" => false "gateToPool" => false "seaview" => false "popular" => false "airco" => false "wifi" => false "tv" => false "pool" => false "heatedSwimmingpool" => false "bbq" => false "walkingDistanceToBeach" => false "tennisCourt" => false "gym" => false "underfloorHeating" => false "tableTennis" => false "trampoline" => false "climbingFrame" => false "babyBed" => false "childSeat" => false "grass" => false "paddingPoolShallowPart" => false ] } "constraints" => null "groups" => null ]