diff --git a/service_container.rst b/service_container.rst index ff1758b1bb3..3dea1fe9825 100644 --- a/service_container.rst +++ b/service_container.rst @@ -32,10 +32,11 @@ service's class or interface name. Want to :doc:`log ` something? No p namespace App\Controller; use Psr\Log\LoggerInterface; + use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; use Symfony\Component\Routing\Annotation\Route; - class ProductController + class ProductController extends AbstractController { /** * @Route("/products")
Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.
Alternative Proxies: