Upgrade to Pro — share decks privately, control downloads, hide ads and more …

How to dynamically validate data with Symfony

Sponsored · Ship Features Fearlessly Turn features on and off without deploys. Used by thousands of Ruby developers.

How to dynamically validate data with Symfony

Symfony Con 2022

Avatar for Marion Hurteau

Marion Hurteau

November 18, 2022
Tweet

More Decks by Marion Hurteau

Other Decks in Programming

Transcript

  1. 4

  2. 6

  3. 69

  4. 81

  5. TL;DR: 👉 Validate ! ✨ $context->getValidator()->inContext($context) 👉 External constraint :

    - Maintainable - Testable - Reusable 👉 _instanceof & !tagged_locator - + default_index_method 82