Symfony 4 global route prefix
问题 I can't find any info about the global route prefix in a Symfony 4 application. The only thing I've found is annotating the controllers with @route . But I don't use annotations and I need all the controllers to have the same prefix. Now I could do that in S3 like this in the app/config/routing.yml file: app: resource: '@AppBundle/Controller/' type: annotation prefix: /foo But S4 is bundleless and I can't do the same - I would have to create a bundle which I don't need. Is it possible to