8000 Removed tip that was meant for the 2.x versions by linaori · Pull Request #7564 · symfony/symfony-docs · GitHub
[go: up one dir, main page]

Skip to content

Removed tip that was meant for the 2.x versions #7564

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
Mar 3, 2017
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Removed tip that was meant for the 2.x versions
  • Loading branch information
Iltar van der Berg committed Mar 2, 2017
commit 11f259dd198641cd24a1a83946dbbb87ea238892
6 changes: 0 additions & 6 deletions controller/service.rst
Original file line number Diff line number Diff line change
Expand Up @@ -336,12 +336,6 @@ controller:

return new StreamedResponse($callback);

.. tip::

``getRequest()`` has been deprecated. Instead, have an argument to your
controller action method called ``Request $request``. The order of the
parameters is not important, but the typehint must be provided.

.. _`Controller class source code`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
.. _`base Controller class`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
.. _`FrameworkExtraBundle documentation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html#controller-as-service
0