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 {#1456 name: "" type_class: "App\Form\SearchType" data: App\Services\Search {#648 +styles: [ App\Entity\Style {#1147 -id: 2 -name: "break" -vinyls: Doctrine\ORM\PersistentCollection {#1148 …} -cds: Doctrine\ORM\PersistentCollection {#1150 …} -slug: "break" } ] +label: null +artist: null +year: null +q: null +inStock: false +promo: false +repress: false +neuf: false +occasion: false +homeprod: false } } "constraints" => null "groups" => null ]