File tree Expand file tree Collapse file tree 8 files changed +256
-88
lines changed Expand file tree Collapse file tree 8 files changed +256
-88
lines changed Original file line number Diff line number Diff line change
1
+ .. index ::
2
+ pair: Assetic; Configuration Reference
3
+
4
+ AsseticBundle Configuration Reference
5
+ =====================================
6
+
7
+ Full Default Configuration
8
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
9
+
10
+ .. configuration-block ::
11
+
12
+ .. code-block :: yaml
13
+
14
+ assetic :
15
+ debug : true
16
+ use_controller : true
17
+ read_from : %kernel.root_dir%/../web
18
+ write_to : %assetic.read_from%
19
+ java : /usr/bin/java
20
+ node : /usr/bin/node
21
+ sass : /usr/bin/sass
22
+ bundles :
23
+
24
+ # Defaults (all currently registered bundles):
25
+ - FrameworkBundle
26
+ - SecurityBundle
27
+ - TwigBundle
28
+ - MonologBundle
29
+ - SwiftmailerBundle
30
+ - DoctrineBundle
31
+ - AsseticBundle
32
+ - ...
33
+
34
+ assets :
35
+
36
+ # Prototype
37
+ name :
38
+ inputs : []
39
+ filters : []
40
+ options :
41
+
42
+ # Prototype
43
+ name : []
44
+ filters :
45
+
46
+ # Prototype
47
+ name : []
48
+ twig :
49
+ functions :
50
+
51
+ # Prototype
52
+ name : []
Original file line number Diff line number Diff line change @@ -17,80 +17,96 @@ Full Default Configuration
17
17
.. code-block :: yaml
18
18
19
19
framework :
20
+
20
21
# general configuration
21
- charset : ~
22
- secret : ~ # Required
23
- exception_controller : Symfony\\ Bundle\\ FrameworkBundle\\ Controller\ \ExceptionController::showAction
24
- ide : ~
25
- test : ~
26
-
22
+ charset : ~
23
+ secret : ~ # Required
24
+ exception_controller : Symfony\Bundle\FrameworkBundle\Controller\ExceptionController::showAction
25
+ ide : ~
26
+ test : ~
27
+
27
28
# form configuration
28
29
form :
29
- enabled : true
30
+ enabled : true
30
31
csrf_protection :
31
- enabled : true
32
- field_name : _token
33
-
32
+ enabled : true
33
+ field_name : _token
34
+
34
35
# esi configuration
35
36
esi :
36
- enabled : true
37
-
37
+ enabled : true
38
+
38
39
# profiler configuration
39
40
profiler :
40
41
only_exceptions : false
41
- only_master_requests : false
42
- dsn : sqlite:%kernel.cache_dir%/profiler.db
43
- username : ' '
44
- password : ' '
45
- lifetime : 86400
42
+ only_master_requests : false
43
+ dsn : sqlite:%kernel.cache_dir%/profiler.db
44
+ username :
45
+ password :
46
+ lifetime : 86400
46
47
matcher :
47
- ip : ~
48
- path : ~
49
- service : ~
48
+ ip : ~
49
+ path : ~
50
+ service : ~
50
51
51
52
# router configuration
52
53
router :
53
- resource : ~ # Required
54
- type : ~
55
- http_port : 80
56
- https_port : 443
54
+ resource : ~ # Required
55
+ type : ~
56
+ http_port : 80
57
+ https_port : 443
57
58
58
59
# session configuration
59
60
session :
60
- auto_start : ~
61
- default_locale : en
62
- storage_id : session.storage.native
63
- name : ~
64
- lifetime : ~
65
- path : ~
66
- domain : ~
67
- secure : ~
68
- httponly : ~
61
+ auto_start : ~
62
+ default_locale : en
63
+ storage_id : session.storage.native
64
+ name : ~
65
+ lifetime : ~
66
+ path : ~
67
+ domain : ~
68
+ secure : ~
69
+ httponly : ~
69
70
70
71
# templating configuration
71
72
templating :
72
- assets_version : ~
73
- assets_base_urls : []
74
- cache : ~
75
- engines : [] # Required
76
- loaders : []
77
- packages : []
73
+ assets_version : ~
74
+ assets_version_format : ~
75
+ assets_base_urls :
76
+ http : []
77
+ ssl : []
78
+ cache : ~
79
+ engines : # Required
80
+
81
+ # Example:
82
+ - twig
83
+ loaders : []
84
+ packages :
85
+
86
+ # Prototype
87
+ name :
88
+ version : ~
89
+ version_format : ~
90
+ base_urls :
91
+ http : []
92
+ ssl : []
78
93
79
94
# translator configuration
80
95
translator :
81
- enabled : true
82
- fallback : en
83
-
96
+ enabled : true
97
+ fallback : en
98
+
99
+ # validation configuration
84
100
validation :
85
- enabled : true
86
- cache : ~
87
- enable_annotations : false
88
-
89
- # annotations configuration
90
- annotations :
91
- cache : file
92
- file_cache_dir : %kernel.cache_dir%/annotations
93
- debug : true
101
+ enabled : true
102
+ cache : ~
103
+ enable_annotations : false
104
+
105
+ # annotation configuration
106
+ annotations :
107
+ cache : file
108
+ file_cache_dir : %kernel.cache_dir%/annotations
109
+ debug : true
94
110
95
111
General Configuration
96
112
---------------------
Original file line number Diff line number Diff line change @@ -220,4 +220,60 @@ And you can also retrieve the configured document manager services which utilize
220
220
connection services::
221
221
222
222
$dm1 = $container->get('doctrine.odm.mongodb.dm1_document_manager');
223
- $dm2 = $container->get('doctrine.odm.mongodb.dm2_document_manager');
223
+ $dm2 = $container->get('doctrine.odm.mongodb.dm2_document_manager');
224
+
225
+ Full Default Configuration
226
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~
227
+
228
+ .. configuration-block ::
229
+
230
+ .. code-block :: yaml
231
+
232
+ doctrine_mongodb :
233
+ document_managers :
234
+
235
+ # Prototype
236
+ id :
237
+ connection : ~
238
+ database : ~
239
+ logging : true
240
+ auto_mapping : false
241
+ metadata_cache_driver :
242
+ type : ~
243
+ class : ~
244
+ host : ~
245
+ port : ~
246
+ instance_class : ~
247
+ mappings :
248
+
249
+ # Prototype
250
+ name :
251
+ mapping : true
252
+ type : ~
253
+ dir : ~
254
+ prefix : ~
255
+ alias : ~
256
+ is_bundle : ~
257
+ connections :
258
+
259
+ # Prototype
260
+ id :
261
+ server : ~
262
+ options :
263
+ connect : ~
264
+ persist : ~
265
+ timeout : ~
266
+ replicaSet : ~
267
+ username : ~
268
+ password : ~
269
+ proxy_namespace : Proxies
270
+ proxy_dir : %kernel.cache_dir%/doctrine/odm/mongodb/Proxies
271
+ auto_generate_proxy_classes : false
272
+ hydrator_namespace : Hydrators
273
+ hydrator_dir : %kernel.cache_dir%/doctrine/odm/mongodb/Hydrators
274
+ auto_generate_hydrator_classes : false
275
+ default_document_manager : ~
276
+ default_connection : ~
277
+ default_database : default
278
+
279
+
Original file line number Diff line number Diff line change @@ -10,23 +10,50 @@ Configuration Reference
10
10
11
11
monolog :
12
12
handlers :
13
+
14
+ # Examples:
13
15
syslog :
14
- type : stream
15
- path : /var/log/symfony.log
16
- level : error
17
- bubble : false
18
- formatter : my_formatter
16
+ type : stream
17
+ path : /var/log/symfony.log
18
+ level : ERROR
19
+ bubble : false
20
+ formatter : my_formatter
19
21
processors :
20
22
- some_callable
21
23
main :
22
- type : fingerscrossed
23
- action_level : warning
24
- buffer_size : 30
25
- handler : custom
24
+ type : fingerscrossed
25
+ action_level : WARNING
26
+ buffer_size : 30
27
+ handler : custom
26
28
custom :
27
- type : service
28
- id : my_handler
29
+ type : service
30
+ id : my_handler
31
+
32
+ # Prototype
33
+ name :
34
+ type : ~ # Required
35
+ id : ~
36
+ priority : 0
37
+ level : DEBUG
38
+ bubble : true
39
+ path : %kernel.logs_dir%/%kernel.environment%.log
40
+ ident : false
41
+ facility : user
42
+ max_files : 0
43
+ action_level : WARNING
44
+ stop_buffering : true
45
+ buffer_size : 0
46
+ handler : ~
47
+ members : []
48
+ from_email : ~
49
+ to_email : ~
50
+ subject : ~
51
+ email_prototype : ~
52
+ formatter : ~
53
+ processors : []
29
54
processors :
55
+
56
+ # Example:
30
57
- @my_processor
31
58
32
59
.. code-block :: xml
Original file line number Diff line number Diff line change @@ -12,16 +12,20 @@ Full Default Configuration
12
12
.. code-block :: yaml
13
13
14
14
swiftmailer :
15
- transport : smtp
16
- username : ~
17
- password : ~
18
- host : localhost
19
- port : false
20
- encryption : ~
21
- auth_mode : ~
15
+ transport : smtp
16
+ username : ~
17
+ password : ~
18
+ host : localhost
19
+ port : false
20
+ encryption : ~
21
+ auth_mode : ~
22
22
spool :
23
- type : file
24
- path : %kernel.cache_dir%/swiftmailer/spool
25
- delivery_address : ~
26
- disable_delivery : ~
27
- logging : true
23
+ type : file
24
+ path : %kernel.cache_dir%/swiftmailer/spool
25
+ sender_address : ~
26
+ antiflood :
27
+ threshold : 99
28
+ sleep : 0
29
+ delivery_address : ~
30
+ disable_delivery : ~
31
+ logging : true
You can’t perform that action at this time.
0 commit comments