Answer the question
In order to leave comments, you need to log in
How to use routing php for Symfony 3?
Hello. I just started learning Symfony 3 and I have a question. How to use a php file to set routes, yes, through annotations and through the routing.yml file, but I would like more, using PHP as in the examples. I understand that annotations are connected in the routing.yml file
app:
resource: '@AppBundle/Controller/'
type: annotation
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question