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 {#1458 name: "donation" type_class: "App\Form\Member\DonationType" data: App\Entity\DonationHistory {#1264 -id: 16 -user: null -reference: "20241123090808-67418d68e8cf5" -amount: 250.0 -paidAt: null -accessToken: "7CzULlFYSILelXZSXrwcKTNPjNfzqTVIX6dEAstHAOg" -firstname: "Test" -lastname: "Test" -email: "test@test.com" -address_line_1: "168 rue la France" -post_code: "31000" -city: "Toulouse" -is_anonymous: true -has_proof: true #createdAt: DateTime @1732349289 {#1866 date: 2024-11-23 09:08:09.241507 Europe/Paris (+01:00) } #updatedAt: DateTime @1732349289 {#1873 date: 2024-11-23 09:08:09.241464 Europe/Paris (+01:00) } } } "constraints" => null "groups" => null ]