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 {#1600 name: "product" type_class: "App\Form\ProductType" data: App\Entity\Product {#936 -id: 6 -position: 5 -name: "Games (Jogos Eletrônicos)" -sku: null -barcode: null -qrcode: null -thumb: "uploads/product/chatgpt-6986121503980.png" -description: "<p>Explore o universo dos <strong>Games</strong>, onde diversão, tecnologia e emoção se encontram! Nesta categoria você encontra tudo para jogadores de todas as idades e estilos — desde os clássicos que marcaram gerações até os lançamentos mais modernos.</p><p><br></p><p>Aqui estão reunidos <strong>consoles</strong>, <strong>jogos físicos e digitais</strong>, <strong>controles</strong>, <strong>acessórios</strong>, <strong>headsets</strong>, <strong>volantes</strong>, <strong>teclados gamer</strong>, <strong>mouse</strong>, além de itens para <strong>PC Gamer</strong>, <strong>retro games</strong> e <strong>realidade virtual</strong>. Seja para jogar casualmente, competir online ou montar um setup completo, esta é a escolha certa.</p><p><br></p><p>Perfeito para quem busca <strong>entretenimento</strong>, <strong>desafios</strong>, <strong>imersão total</strong> e momentos inesquecíveis, sozinho ou com amigos.</p>" -type: "Jogos e cartuchos de video-game" -created_at: DateTime @1770404933 {#931 date: 2026-02-06 16:08:53.0 America/Fortaleza (-03:00) } -updated_at: DateTime @1773325146 {#2016 date: 2026-03-12 11:19:06.785315 America/Fortaleza (-03:00) } -active: true -pdvs: Doctrine\ORM\PersistentCollection {#1021 …} -product_competitors: Doctrine\ORM\PersistentCollection {#1057 …} -indicators: Doctrine\ORM\PersistentCollection {#1108 …} -prod_mixes: Doctrine\ORM\PersistentCollection {#1152 …} } } "constraints" => null "groups" => null ]