Skip to content

Commit f7037b7

Browse files
committed
Merge pull request #2076 from WouterJ/add_some_formats
Add some xml and php formats
2 parents 6a4d1c4 + e341928 commit f7037b7

File tree

3 files changed

+85
-2
lines changed

3 files changed

+85
-2
lines changed

reference/configuration/assetic.rst

+49
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,52 @@ Full Default Configuration
5050
5151
# Prototype
5252
name: []
53+
54+
.. code-block:: xml
55+
56+
<assetic:config
57+
debug="%kernel.debug%"
58+
use-controller="%kernel.debug%"
59+
read-from="%kernel.root_dir%/../web"
60+
write-to="%assetic.read_from%"
61+
java="/usr/bin/java"
62+
node="/usr/bin/node"
63+
sass="/usr/bin/sass"
64+
>
65+
<!-- Defaults (all currently registered bundles) -->
66+
<assetic:bundle>FrameworkBundle</assetic:bundle>
67+
<assetic:bundle>SecurityBundle</assetic:bundle>
68+
<assetic:bundle>TwigBundle</assetic:bundle>
69+
<assetic:bundle>MonologBundle</assetic:bundle>
70+
<assetic:bundle>SwiftmailerBundle</assetic:bundle>
71+
<assetic:bundle>DoctrineBundle</assetic:bundle>
72+
<assetic:bundle>AsseticBundle</assetic:bundle>
73+
<assetic:bundle>...</assetic:bundle>
74+
75+
<assetic:asset>
76+
<!-- prototype -->
77+
<assetic:name>
78+
<assetic:input />
79+
80+
<assetic:filter />
81+
82+
<assetic:option>
83+
<!-- prototype -->
84+
<assetic:name />
85+
</assetic:option>
86+
</assetic:name>
87+
</assetic:asset>
88+
89+
<assetic:filter>
90+
<!-- prototype -->
91+
<assetic:name />
92+
</assetic:filter>
93+
94+
<assetic:twig>
95+
<assetic:functions>
96+
<!-- prototype -->
97+
<assetic:name />
98+
</assetic:functions>
99+
</assetic:twig>
100+
101+
</assetic:config>

reference/configuration/swiftmailer.rst

+27-1
Original file line numberDiff line numberDiff line change
@@ -193,4 +193,30 @@ Full Default Configuration
193193
sleep: 0
194194
delivery_address: ~
195195
disable_delivery: ~
196-
logging: "%kernel.debug%"
196+
logging: "%kernel.debug%"
197+
198+
.. code-block:: xml
199+
200+
<swiftmailer:config
201+
transport="smtp"
202+
username=""
203+
password=""
204+
host="localhost"
205+
port="false"
206+
encryption=""
207+
auth_mode=""
208+
sender_address=""
209+
delivery_address=""
210+
disable_delivery=""
211+
logging="%kernel.debug%"
212+
>
213+
<swiftmailer:spool
214+
path="%kernel.cache_dir%/swiftmailer/spool"
215+
type="file"
216+
/>
217+
218+
<swiftmailer:antiflood
219+
sleep="0"
220+
threshold="99"
221+
/>
222+
</swiftmailer:config>

reference/configuration/web_profiler.rst

+9-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,12 @@ Full Default Configuration
2020
toolbar: false
2121
2222
# gives you the opportunity to look at the collected data before following the redirect
23-
intercept_redirects: false
23+
intercept_redirects: false
24+
25+
.. code-block:: xml
26+
27+
<web-profiler:config
28+
toolbar="false"
29+
verbose="true"
30+
intercept_redirects="false"
31+
/>

0 commit comments

Comments
 (0)