来源:https://stackoverflow.com/questions/57753685/how-do-i-get-a-service-from-the-container-directly-if-i-didnt-couldnt-inject 标签 php symfony dependency-injection symfony4 service-locator