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

How to dynamically validate data with Symfony

Sponsored · Your Podcast. Everywhere. Effortlessly. Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.

How to dynamically validate data with Symfony

Symfony Con 2022

Avatar for Marion Hurteau

Marion Hurteau

November 18, 2022

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