Category: listener

Symfony Listener gone missing after minor changes in Controller

I am encountering some weir behaviour with Symfony listener. I have a working configuration, but when I change or add something to the controller, Expected to find class “AppEventListenerAuthenticationSuccessListener” shows up. The change could be only something inside route path…

undefined method named "render" in Listener Symfony

Good morning, I’m working on sending mail (Swift mailer) from a listener on Symfony, only I have an error when using renderView (try with render too)… Undefined method ‘renderView’. Here my listener : <?php namespace AppEvents; use ApiPlatformCoreEventListenerEventPriorities; use AppEntityUser;…