ElnurAbstractControllerBundle
ElnurAbstractControllerBundle copied to clipboard
Passing parameters from parameters.yml to abstract controller
Hi Elnur,
I wish to create an instance of swift mailer, using parameters from parameters.yml, and add this to a class which inherets from your base class. How can I take these parameters?
Thanks man
Sorry it took me so long to answer.
Why don't you just inject the Swiftmailer instance that Symfony SE creates for you?