php - Symfony2 Dependency Injection Service Scoping Performance -
from purely performance perspective, there difference between request
, container
scoping services?
the reason ask because writing few services end gathering definitions of tagged services via compiler pass. holder service doesn't contain definition (as require proxymanager , lazy services), service id.
however if definition retrieved holder, can lead errors if 1 of tagged services holds dependant on request scoped service.
the simple solution request
scope holder, efficient?
Comments
Post a Comment