Added FOS Rest Bundle

This commit is contained in:
Kevin Frantz
2018-09-16 12:58:39 +02:00
parent 66008bc309
commit 6cf929ada7
5 changed files with 227 additions and 1 deletions

View File

@@ -0,0 +1,15 @@
# Read the documentation: https://symfony.com/doc/master/bundles/FOSRestBundle/index.html
fos_rest: ~
# param_fetcher_listener: true
# allowed_methods_listener: true
# routing_loader: true
# view:
# view_response_listener: true
# exception:
# codes:
# App\Exception\MyException: 403
# messages:
# App\Exception\MyException: Forbidden area.
# format_listener:
# rules:
# - { path: ^/api, prefer_extension: true, fallback_format: json, priorities: [ json, html ] }