8000 Removed tip that was meant for the 2.x versions · symfony/symfony-docs@11f259d · GitHub
[go: up one dir, main page]

Skip to content

Commit 11f259d

Browse files
author
Iltar van der Berg
committed
Removed tip that was meant for the 2.x versions
1 parent a638610 commit 11f259d

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

controller/service.rst

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,12 +336,6 @@ controller:
336336
337337
return new StreamedResponse($callback);
338338
339-
.. tip::
340-
341-
``getRequest()`` has been deprecated. Instead, have an argument to your
342-
controller action method called ``Request $request``. The order of the
343-
parameters is not important, but the typehint must be provided.
344-
345339
.. _`Controller class source code`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
346340
.. _`base Controller class`: https://github.com/symfony/symfony/blob/master/src/Symfony/Bundle/FrameworkBundle/Controller/Controller.php
347341
.. _`FrameworkExtraBundle documentation`: https://symfony.com/doc/current/bundles/SensioFrameworkExtraBundle/annotations/routing.html#controller-as-service

0 commit comments

Comments
 (0)
0