webfactory / WebfactoryPolyglotBundle

Symfony bundle simplifying translations in Doctrine.
MIT License
3 stars 2 forks source link

Keep declaration of Doctrine Event Listeners #51

Closed relthyg closed 4 months ago

relthyg commented 4 months ago

Doctrine Lifecycle Subscribers have been abandoned in Symfony 6.4, which is why we can't use this technique anymore. Instead we revert some changes from fe96e075 and declare Lifecycle Listeners.

mpdude commented 4 months ago

When then should switch back thoroughly, clean up the unused method and avoid potentially wiring it twice (as a listener and subscriber) – see c8fc79b2a47badbdb586b2a831c3ee89fc80db1f.