Symfony 4 Event crash course - Part 8: Create Custom event and setup listeners / subscribers

preview_player
Показать описание
🙋 Join us on Discord:

My Online Courses
🚀 Ultimate Theme Developer guide for Prestashop 1.7 ( 2020 )
🧰 Module's developer guide for Prestashop 1.7
🏃 Practical guide for creating Prestashop 1.7 module
🎨 Themes developer guide for Prestashop 1.7 ( 2019 )
🎵 Symfony beginner guide 2020

WHO AM I:
I'm Mohamed Habib, a web developer working in Paris, France. I make videos about coding, mainly Prestashop and Angular. I also have premium courses that you get on Udemy and Skill-share.

Рекомендации по теме
Комментарии
Автор

Beraka Allahou Fik, you are good at simplifiying things, please do more Symfony tutoriels.

medkarimgarali
Автор

Hi Aloui. I watched your videos relative to Symfony Event listeners and subscribers. I have a controller in which I persist multiple entities. I created and declare an eventlistener with postPersist method and I'd like to return a variable from eventlistener to controller to be notified when entities are persisted. Then, pass this variable to a twig template in order to implement a multiple step form. How can I do that ? Thanks. I hope you can answer

JohnDoe-uukv
Автор

How do you wire the eventDispatcher to the controller action ?

PetitNuagefr