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 {#10625 name: "nilead_edit_cart" type_class: "Nilead\CartBundle\Form\Type\EditCartType" data: Nilead\CartBundle\Model\Cart {#10684 #customId: null #type: null #total: 0 #items: Doctrine\Common\Collections\ArrayCollection {#10690 …} #orderId: null #purchaser: null #messages: [] #itemQuantity: null #itemTotal: null #id: null #oldId: null #created: null #updated: null } } "constraints" => null "groups" => null ]