Skip to content

Conversation

petk
Copy link
Contributor

@petk petk commented Jul 6, 2016

Since Symfony 2.7 there is getParameter() method available for accessing container configuration parameters.
This patch adds a tip about that and supersedes the #6725 (wrong target branch)

@xabbuh
Copy link
Member

xabbuh commented Jul 7, 2016

👍

Status: Reviewed

@javiereguiluz
Copy link
Member

👍

@wouterj wouterj merged commit 8db9912 into symfony:2.7 Jul 8, 2016
wouterj added a commit that referenced this pull request Jul 8, 2016
This PR was merged into the 2.7 branch.

Discussion
----------

Use getParameter method in controllers

Since Symfony 2.7 there is getParameter() method available for accessing container configuration parameters.
This patch adds a tip about that and supersedes the #6725 (wrong target branch)

Commits
-------

8db9912 Use getParameter method in controllers
wouterj added a commit that referenced this pull request Jul 8, 2016
@wouterj
Copy link
Member

wouterj commented Jul 8, 2016

Thanks @peterkokot! I've added a small versionadded directive in ace3104.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants