8000 Adding warning about non-service arguments for controllers by weaverryan · Pull Request #8558 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Adding warning about non-service arguments for controllers #8558

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

Merged
merged 1 commit into from
Oct 29, 2017
Merged

Adding warning about non-service arguments for controllers #8558

merged 1 commit into from
Oct 29, 2017

Conversation

weaverryan
Copy link
Member

Hi guys!

See: symfony/symfony#24555 (comment)

This is for 3.3. In 3.4 we can improve this further: by updating the example of this to use bind (which is much nicer than the ugly tag) and probably show an example of using bind along with a scalar argument to the constructor. In other words, 3.4 is a todo once this is merged.

Thanks!

@weaverryan weaverryan merged commit 72a0685 into symfony:3.3 Oct 29, 2017
weaverryan added a commit that referenced this pull request Oct 29, 2017
…ers (weaverryan)

This PR was merged into the 3.3 branch.

Discussion
----------

Adding warning about non-service arguments for controllers

Hi guys!

See: symfony/symfony#24555 (comment)

This is for 3.3. In 3.4 we can improve this further: by updating the example of this to use `bind` (which is much nicer than the ugly tag) and probably show an example of using `bind` along with a scalar argument to the constructor. In other words, 3.4 is a todo once this is merged.

Thanks!

Commits
-------

72a0685 Adding warning about non-service arguments
@weaverryan weaverryan deleted the controller-scalar-args branch October 29, 2017 18:49
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.

3 participants
0