Différences entre les versions de « Programmation PHP/Symfony/API »

m
format_listener:
rules:
- { path: '^/', prefer_extension: true, fallback_format: ~, priorities: [ 'html', '*/*'], fallback_format: ~, prefer_extension: true }
- { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json ] }
</source>