We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7eedd0 commit c808742Copy full SHA for c808742
templates.rst
@@ -188,6 +188,7 @@ Consider the following routing configuration:
188
.. code-block:: php-annotations
189
190
// src/Controller/BlogController.php
191
+ namespace App\Controller;
192
193
// ...
194
use Symfony\Component\Routing\Annotation\Route;
@@ -421,6 +422,8 @@ you only need to add an argument in the service constructor and type-hint it wit
421
422
the :class:`Twig\\Environment` class::
423
424
// src/Service/SomeService.php
425
+ namespace App\Service;
426
+
427
use Twig\Environment;
428
429
class SomeService
0 commit comments