Leverage PSR-4 routing (#1136)

This commit is contained in:
Alexander M. Turek
2022-10-20 09:56:29 +02:00
committed by GitHub
parent 52b78a5c16
commit dddc205ad9
3 changed files with 24 additions and 0 deletions
@@ -0,0 +1,12 @@
framework:
router:
utf8: true
# Configure how to generate URLs in non-HTTP contexts, such as CLI commands.
# See https://symfony.com/doc/current/routing.html#generating-urls-in-commands
#default_uri: http://localhost
when@prod:
framework:
router:
strict_requirements: null
+3
View File
@@ -0,0 +1,3 @@
controllers:
resource: ../src/Controller/
type: attribute@App\Controller
+9
View File
@@ -0,0 +1,9 @@
{
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/"
},
"aliases": ["router"],
"conflict": {
"symfony/framework-bundle": "<6.2"
}
}