Question from the Symfony 6 test

Events listeners are easier to reuse because the knowledge of the events is kept in the class rather than in the service definition.

Medium

Events listeners are easier to reuse because the knowledge of the events is kept in the class rather than in the service definition.

Author: smaine milianniStatus: PublishedQuestion passed 1092 times
Edit
3
Community Evaluations
developer avatar
Lucas
14/03/2024
+1
developer avatar
Auteur anonyme
15/03/2024
C'est à dire ?
developer avatar
Lucas
15/03/2024
Par rapport à la question du dessous :)
developer avatar
Théo
17/01/2024
Cela est toujours vrai avec l'approche attribut ? Comme : #[AsEventListener(event: KernelEvents::REQUEST, method: 'onKernelRequest')]
developer avatar
Auteur anonyme
25/01/2024
+1