You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Twig supports RuntimeLoaders that allow to lazily load an external dependency. You properly need to change some things as the File locator during compile time is not very helpful and hurts performance.
But the great thing about RuntimeLoaders is that can actually be services.
not sure i remember why i created this issue, perhaps before i was using a declared service by the bundle but currently i don't have the bundle registered on my kernel.
So i guess i don't impact performance on my project.
There is no freaking way in symfony to prevent the extension to warm up the object constructors and performance-wise this is not acceptable.
The extension always loads, no way around it because it is tokenParser depending on other objects
I disabled the bundle and just reusing the service directly on my mailer service when i need it.
The text was updated successfully, but these errors were encountered: