Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use getParameter method in controllers #6726

Merged
merged 1 commit into from
Jul 8, 2016
Merged

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