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

Popular posts from this blog

javascript - Jquery show_hide, what to add in order to make the page scroll to the bottom of the hidden field once button is clicked -

javascript - Highcharts multi-color line -

javascript - Enter key does not work in search box -