Skip to content

Commit 3d75d9a

Browse files
authored
Update service_container.rst
Controller base class doesn't exist anymore in SF 5.0
1 parent 15fcc4c commit 3d75d9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

service_container.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -812,7 +812,7 @@ this file is ``public: false`` by default.
812812

813813
What does this mean? When a service **is** public, you can access it directly
814814
from the container object, which is accessible from any controller that extends
815-
``Controller``::
815+
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\AbstractController`::
816816

817817
use App\Service\MessageGenerator;
818818

0 commit comments

Comments
 (0)