阅读背景:

如何在symfony2全局帮助函数(服务)中访问服务容器?

来源:互联网 

This question started out with me not understanding why I couldn't pass variables to a symfony2 global helper function (service), but thanks to people brighter than I, I realized my error was about trying to use the security_context from within a class that didn't have it injected so...This question started out with me not understan




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: