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 bc3ac26 commit 432a1d6Copy full SHA for 432a1d6
routing.rst
@@ -34,10 +34,14 @@ following configuration file:
34
35
.. code-block:: yaml
36
37
- # config/routes.yaml
+ # config/routes/annotations.yaml
38
controllers:
39
- resource: '../src/Controller/'
40
- type: annotation
+ resource: '../../src/Controller/'
+ type: annotation
41
+
42
+ kernel:
43
+ resource: ../../src/Kernel.php
44
45
46
This configuration tells Symfony to look for routes defined as annotations in
47
any PHP class stored in the ``src/Controller/`` directory.
0 commit comments