diff --git a/templates.rst b/templates.rst index 3ee4fd7dc4a..b527e18b57b 100644 --- a/templates.rst +++ b/templates.rst @@ -463,6 +463,7 @@ to define the template to render:: use Symfony\Bundle\FrameworkBundle\Controller\AbstractController; use Symfony\Component\HttpFoundation\Response; + use Symfony\Bridge\Twig\Attribute\Template; class ProductController extends AbstractController {