Skip to content

Commit dddc205

Browse files
authored
Leverage PSR-4 routing (#1136)
1 parent 52b78a5 commit dddc205

File tree

3 files changed

+24
-0
lines changed

3 files changed

+24
-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: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
controllers:
2+
resource: ../src/Controller/
3+
type: attribute@App\Controller

symfony/routing/6.2/manifest.json

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

0 commit comments

Comments
 (0)