Category: templating

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;…