@@ -2,14 +2,14 @@ imports:
2
2
- { resource: parameters.yml }
3
3
- { resource: security.yml }
4
4
- { resource: services.yml }
5
+ - { resource: "@ApiBundle/Resources/config/fos_rest_mime_types.php" }
6
+ - { resource: "@ApiBundle/Resources/config/services.yml" }
7
+ - { resource: "@ApiBundle/Resources/config/config.yml" }
5
8
6
9
# Put parameters here that don't need to change on each machine where the app is deployed
7
10
# http://symfony.com/doc/current/best_practices/configuration.html#application-related-configuration
8
11
parameters :
9
12
locale : en
10
- # This parameter defines the codes of the locales (languages) enabled in the application
11
- # app_locales: en|fr|de|es|cs|nl|ru|uk|ro|pt_BR|pl|it|ja|id|ca|sl
12
- app_locales : en|fr|hi
13
13
14
14
framework :
15
15
# esi: ~
@@ -33,13 +33,6 @@ framework:
33
33
fragments : ~
34
34
http_method_override : true
35
35
36
- # Assetic Configuration
37
- assetic :
38
- debug : ' %kernel.debug%'
39
- use_controller : ' %kernel.debug%'
40
- filters :
41
- cssrewrite : ~
42
-
43
36
# Twig Configuration
44
37
twig :
45
38
debug : " %kernel.debug%"
@@ -76,42 +69,3 @@ swiftmailer:
76
69
username : " %mailer_user%"
77
70
password : " %mailer_password%"
78
71
spool : { type: memory }
79
-
80
- nelmio_api_doc : ~
81
-
82
- fos_rest :
83
- disable_csrf_role : ROLE_API
84
- routing_loader :
85
- default_format : json # All responses should be JSON formated
86
- include_format : false # We do not include format in request, so that all responses
87
- # will eventually be JSON formated
88
-
89
- fos_user :
90
- db_driver : orm
91
- firewall_name : main # Seems to be used when registering user/reseting password,
92
- # but since there is no "login", as so it seems to be useless in
93
- # our particular context, but still required by "FOSUserBundle"
94
- user_class : ApiBundle\Entity\User
95
-
96
- fos_oauth_server :
97
- db_driver : orm
98
- client_class : ApiBundle\Entity\Client
99
- access_token_class : ApiBundle\Entity\AccessToken
100
- refresh_token_class : ApiBundle\Entity\RefreshToken
101
- auth_code_class : ApiBundle\Entity\AuthCode
102
- service :
103
- user_provider : fos_user.user_manager # This property will be used when valid credentials are given to load the user upon access token creation
104
- options :
105
- supported_scopes : USER
106
- monolog :
107
- handlers :
108
- main :
109
- type : fingers_crossed
110
- action_level : debug # will change to error
111
- handler : nested
112
- nested :
113
- type : stream
114
- path : " %kernel.logs_dir%/%kernel.environment%.log"
115
- level : debug
116
- console :
117
- type : console
0 commit comments