ramblings on PHP, SQL, the web, politics, ultimate frisbee and what else is on in my life
back «  1  2  3 

Re: Do you want DIC with that Controller?

Could there be concrete example how to pass services, like twig to controllers then? then direct injecting to constructor or methods is not recommended. Needing examples of best practice please.

«  1  2  3