Skip to content

Commit be11ba6

Browse files
authored
Merge pull request #916 from dunglas/fix/attributes
Routing: don't require to install doctrine/annotations to use attributes
2 parents cb1cb50 + c208077 commit be11ba6

File tree

3 files changed

+25
-0
lines changed

3 files changed

+25
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
framework:
2+
router:
3+
utf8: true
4+
5+
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
6+
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
7+
#default_uri: http://localhost
8+
9+
when@prod:
10+
framework:
11+
router:
12+
strict_requirements: null
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
controllers:
2+
resource: ../src/Controller/
3+
type: annotation
4+
5+
kernel:
6+
resource: ../src/Kernel.php
7+
type: annotation

symfony/routing/6.0/manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"copy-from-recipe": {
3+
"config/": "%CONFIG_DIR%/"
4+
},
5+
"aliases": ["router"]
6+
}

0 commit comments

Comments
 (0)