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 {#2186 name: "create_offer_form" type_class: "App\Form\Offer\CreateOfferForm" data: App\Entity\Product\Offer {#1825 -product: null -entity: null -price: null -category: null -lastUpdate: null -qty: null -format: null -packaging: null -vintage: ? ?int -unoficial_price: null -unoficial_qty: null -unoficial_update: null -slug: null -packaging_value: null -packaging_flat: null +formatCode: "N/C" +formatName: "N/C" -format_filled: null -type: null -import_process: null -history: Doctrine\Common\Collections\ArrayCollection {#1826 …} -is_flat: null -comment: null -private_note: [] -edited_note: null -created_by_name: null -edited_by: null -control: null -created_by: null -offerProposals: Doctrine\Common\Collections\ArrayCollection {#1840 …} -userConsults: Doctrine\Common\Collections\ArrayCollection {#1839 …} -_hasForcedUuid: false -id: null #uuid: null -status: 1 } } "constraints" => null "groups" => null ]