Syntax # config/routes/annotations.yaml controllers: resource: '../../src/Controller/' type: annotation host: fr: www.example.fr en: www.example.com