Add ChillUrlGenerator and ChillUrlGeneratorInterface

Introduced a new interface ChillUrlGeneratorInterface for URL generation with return path handling. Implemented this interface in the ChillUrlGenerator class, which uses Symfony components to manage URL generation and request information.
This commit is contained in:
2024-09-25 10:57:52 +02:00
parent 75005b4ed6
commit 5a467ae38d
3 changed files with 83 additions and 0 deletions

View File

@@ -22,3 +22,8 @@ services:
class: Chill\MainBundle\Routing\MenuTwig
tags:
- { name: twig.extension }
Chill\MainBundle\Routing\ChillUrlGenerator: ~
Chill\MainBundle\Routing\ChillUrlGeneratorInterface:
alias: 'Chill\MainBundle\Routing\ChillUrlGenerator'