forked from Haehnchen/idea-php-symfony2-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsymfony2-config.xml
776 lines (623 loc) · 18.6 KB
/
symfony2-config.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
<!-- Dumping default configuration for all bundles -->
<config>
<!-- Namespace: http://symfony.com/schema/dic/symfony -->
<!-- http-method-override: Set true to enable support for the '_method' request parameter to determine the intended HTTP method on POST requests. Note: When using the HttpCache, you need to call the method in your front controller instead -->
<framework
secret=""
http-method-override="true"
ide="null"
test=""
default-locale="en"
>
<!-- prototype -->
<trusted-proxies>scalar value</trusted-proxies>
<!-- prototype -->
<trusted-hosts>scalar value</trusted-hosts>
<!-- field-name: Deprecated since 2.4, to be removed in 3.0. Use form.csrf_protection.field_name instead -->
<csrf-protection
enabled="false"
field-name="_token"
/>
<!-- form configuration -->
<form enabled="false">
<csrf-protection
enabled="null"
field-name="null"
/>
</form>
<!-- esi configuration -->
<esi enabled="false" />
<!-- fragments configuration -->
<fragments
enabled="false"
path="/_fragment"
/>
<!-- profiler configuration -->
<profiler
enabled="false"
collect="true"
only-exceptions="false"
only-master-requests="false"
dsn="file:%kernel.cache_dir%/profiler"
username=""
password=""
lifetime="86400"
>
<!--
path: use the urldecoded format;
Example: ^/path to resource/
-->
<matcher
path=""
service=""
>
<!-- prototype -->
<ip>scalar value</ip>
</matcher>
</profiler>
<!-- router configuration -->
<!-- resource: Required -->
<!--
strict-requirements: set to true to throw an exception when a parameter does not match the requirements
set to false to disable exceptions when a parameter does not match the requirements (and return null instead)
set to null to disable parameter checks against requirements
'true' is the preferred configuration in development mode, while 'false' or 'null' might be preferred in production
-->
<router
resource=""
type=""
http-port="80"
https-port="443"
strict-requirements="true"
/>
<!-- session configuration -->
<!-- metadata-update-threshold: seconds to wait between 2 session metadata updates, it will also prevent the session handler to write if the session has not changed -->
<session
storage-id="session.storage.native"
handler-id="session.handler.native_file"
name=""
cookie-lifetime=""
cookie-path=""
cookie-domain=""
cookie-secure=""
cookie-httponly=""
gc-divisor=""
gc-probability="1"
gc-maxlifetime=""
save-path="%kernel.cache_dir%/sessions"
metadata-update-threshold="0"
/>
<!-- request configuration -->
<request>
<!-- prototype -->
<format name="format name" />
</request>
<!-- templating configuration -->
<templating
assets-version="null"
assets-version-format="%%s?%%s"
hinclude-default-template="null"
cache=""
>
<form>
<!-- prototype -->
<resource>FrameworkBundle:Form</resource>
</form>
<assets-base-url>
<!-- prototype -->
<http>scalar value</http>
<!-- prototype -->
<ssl>scalar value</ssl>
</assets-base-url>
<!-- prototype -->
<engine>scalar value</engine>
<!-- prototype -->
<loader>scalar value</loader>
<!-- prototype -->
<package
name="package name"
version="null"
version-format="%%s?%%s"
>
<base-url>
<!-- prototype -->
<http>scalar value</http>
<!-- prototype -->
<ssl>scalar value</ssl>
</base-url>
</package>
</templating>
<!-- translator configuration -->
<translator
enabled="false"
fallback="en"
logging = "%kernel.debug%"
/>
<!-- validation configuration -->
<!-- api: One of "2.4"; "2.5"; "2.5-bc"; "auto" -->
<validation
enabled="false"
cache=""
enable-annotations="false"
translation-domain="validators"
strict-email="false"
api="auto"
>
<!-- prototype -->
<static-method>scalar value</static-method>
</validation>
<!-- annotation configuration -->
<annotations
cache="file"
file-cache-dir="%kernel.cache_dir%/annotations"
debug="%kernel.debug%"
/>
<!-- serializer configuration -->
<serializer enabled="false" />
</framework>
<!-- Namespace: http://symfony.com/schema/dic/security -->
<!-- access-denied-url: Example: /foo/error403 -->
<!-- session-fixation-strategy: strategy can be: none, migrate, invalidate -->
<security
access-denied-url="null"
session-fixation-strategy="migrate"
hide-user-not-found="true"
always-authenticate-before-granting="false"
erase-credentials="true"
>
<access-decision-manager
strategy="affirmative"
allow-if-all-abstain="false"
allow-if-equal-granted-denied="true"
/>
<!-- connection: any name configured in doctrine.dbal section -->
<acl
connection="null"
provider=""
>
<cache
id=""
prefix="sf2_acl_"
/>
<tables
class="acl_classes"
entry="acl_entries"
object-identity="acl_object_identities"
object-identity-ancestors="acl_object_identity_ancestors"
security-identity="acl_security_identities"
/>
<voter allow-if-object-identity-unavailable="true" />
</acl>
<!-- prototype -->
<!-- hash-algorithm: Name of hashing algorithm for PBKDF2 (i.e. sha256, sha512, etc..) See hash_algos() for a list of supported algorithms. -->
<encoder
class="encoder class"
algorithm=""
hash-algorithm="sha512"
key-length="40"
ignore-case="false"
encode-as-base64="true"
iterations="5000"
cost="13"
id=""
/>
<!-- prototype -->
<provider
name="provider name"
id=""
>
<chain>
<!-- prototype -->
<provider>scalar value</provider>
</chain>
</provider>
<!-- prototype -->
<firewall
name="firewall name"
pattern=""
host=""
security="true"
request-matcher=""
access-denied-url=""
access-denied-handler=""
entry-point=""
provider=""
stateless="false"
context=""
>
<!-- prototype -->
<methods>scalar value</methods>
<logout
csrf-parameter="_csrf_token"
csrf-token-generator=""
csrf-token-id="logout"
path="/logout"
target="/"
success-handler=""
invalidate-session="true"
>
<!-- prototype -->
<delete-cookie
name="delete cookie name"
path="null"
domain="null"
/>
<!-- prototype -->
<handler>scalar value</handler>
</logout>
<anonymous key="5381ccb5d996e" />
<switch-user
provider=""
parameter="_switch_user"
role="ROLE_ALLOWED_TO_SWITCH"
/>
</firewall>
<!-- prototype -->
<!--
path: use the urldecoded format;
Example: ^/path to resource/
-->
<rule
requires-channel="null"
path="null"
host="null"
allow-if="null"
>
<!-- prototype -->
<ip>scalar value</ip>
<!-- prototype -->
<methods>scalar value</methods>
<!-- prototype -->
<role>scalar value</role>
</rule>
<!-- prototype -->
<role id="role id" />
</security>
<!-- Namespace: http://symfony.com/schema/dic/twig -->
<!-- base-template-class: Example: Twig_Template -->
<twig
exception-controller="twig.controller.exception:showAction"
autoescape=""
autoescape-service="null"
autoescape-service-method="null"
base-template-class=""
cache="%kernel.cache_dir%/twig"
charset="%kernel.charset%"
debug="%kernel.debug%"
strict-variables=""
auto-reload=""
optimizations=""
>
<form>
<!-- prototype -->
<resource>form_div_layout.html.twig</resource>
</form>
<!-- prototype -->
<global
key="global key"
id=""
type=""
value=""
/>
<!-- prototype -->
<path>value</path>
</twig>
<!-- Namespace: http://symfony.com/schema/dic/monolog -->
<monolog>
<!-- prototype -->
<channel>scalar value</channel>
<!-- prototype -->
<!-- type: Required -->
<handler
name="handler name"
type=""
id=""
priority="0"
level="DEBUG"
bubble="true"
path="%kernel.logs_dir%/%kernel.environment%.log"
ident="false"
logopts="1"
facility="user"
max-files="0"
action-level="WARNING"
activation-strategy="null"
stop-buffering="true"
buffer-size="0"
handler=""
url=""
exchange=""
exchange-name="log"
room=""
notify="false"
nickname="Monolog"
token=""
user=""
title="null"
from-email=""
subject=""
content-type="null"
mailer="mailer"
connection-string=""
timeout=""
connection-timeout=""
persistent=""
dsn=""
message-type="0"
formatter=""
>
<!-- prototype -->
<excluded-404>scalar value</excluded-404>
<publisher
id=""
hostname=""
port="12201"
chunk-size="1420"
/>
<mongo
id=""
host=""
port="27017"
user=""
pass=""
database="monolog"
collection="logs"
/>
<!-- prototype -->
<member>scalar value</member>
<!-- prototype -->
<to-email>scalar value</to-email>
<!-- id: Required -->
<email-prototype
id=""
method="null"
/>
<!-- prototype -->
<tag>scalar value</tag>
<verbosity-levels
VERBOSITY-NORMAL="WARNING"
VERBOSITY-VERBOSE="NOTICE"
VERBOSITY-VERY-VERBOSE="INFO"
VERBOSITY-DEBUG="DEBUG"
/>
<channels type="">
<!-- prototype -->
<channel>scalar value</channel>
</channels>
</handler>
</monolog>
<!-- Namespace: http://symfony.com/schema/dic/swiftmailer -->
<swiftmailer default-mailer="">
<!-- prototype -->
<mailer
name="mailer name"
transport="smtp"
username="null"
password="null"
host="localhost"
port="null"
timeout="30"
source-ip="null"
encryption="null"
auth-mode="null"
sender-address=""
delivery-address=""
logging="true"
disable-delivery=""
>
<antiflood
threshold="99"
sleep="0"
/>
<!-- id: Used by "service" type -->
<spool
type="file"
path="%kernel.cache_dir%/swiftmailer/spool"
id="null"
/>
<!-- prototype -->
<delivery-whitelist-pattern>scalar value</delivery-whitelist-pattern>
</mailer>
</swiftmailer>
<!-- Namespace: http://symfony.com/schema/dic/assetic -->
<assetic
debug="%kernel.debug%"
read-from="%kernel.root_dir%/../web"
write-to="%assetic.read_from%"
java="C:\Windows\system32\java.EXE"
node="C:\Program Files\nodejs\\node.EXE"
ruby="/usr/bin/ruby"
sass="/usr/bin/sass"
>
<use-controller
enabled="%kernel.debug%"
profiler="false"
/>
<!-- prototype -->
<node-paths>scalar value</node-paths>
<!-- prototype -->
<variable name="variable name" />
<!-- prototype -->
<bundle>scalar value</bundle>
<!-- prototype -->
<asset name="asset name">
<!-- prototype -->
<input>scalar value</input>
<!-- prototype -->
<filter>scalar value</filter>
<!-- prototype -->
<options name="options name">value</options>
</asset>
<!-- prototype -->
<filter name="filter name">value</filter>
<twig>
<!-- prototype -->
<function name="function name">value</function>
</twig>
</assetic>
<!-- Namespace: http://symfony.com/schema/dic/doctrine -->
<doctrine>
<dbal default-connection="">
<!-- prototype -->
<!-- class: Required -->
<type
name="type name"
class=""
commented="true"
/>
<!-- prototype -->
<!-- unix-socket: The unix socket to use for MySQL -->
<!-- persistent: True to use as persistent connection for the ibm_db2 driver -->
<!-- protocol: The protocol to use for the ibm_db2 driver (default to TCPIP if ommited) -->
<!-- service: True to use dbname as service name instead of SID for Oracle -->
<!-- sessionMode: The session mode to use for the oci8 driver -->
<!-- pooled: True to use a pooled server with the oci8 driver -->
<!-- MultipleActiveResultSets: Configuring MultipleActiveResultSets for the pdo_sqlsrv driver -->
<connection
name="connection name"
dbname=""
host="localhost"
port="null"
user="root"
password="null"
charset=""
path=""
memory=""
unix-socket=""
persistent=""
protocol=""
service=""
sessionMode=""
pooled=""
MultipleActiveResultSets=""
driver="pdo_mysql"
platform-service=""
schema-filter=""
logging="true"
profiling="true"
driver-class=""
wrapper-class=""
keep-slave=""
>
<!-- prototype -->
<option key="option key">scalar value</option>
<!-- prototype -->
<mapping-type name="mapping type name">scalar value</mapping-type>
<!-- prototype -->
<!-- unix-socket: The unix socket to use for MySQL -->
<!-- persistent: True to use as persistent connection for the ibm_db2 driver -->
<!-- protocol: The protocol to use for the ibm_db2 driver (default to TCPIP if ommited) -->
<!-- service: True to use dbname as service name instead of SID for Oracle -->
<!-- sessionMode: The session mode to use for the oci8 driver -->
<!-- pooled: True to use a pooled server with the oci8 driver -->
<!-- MultipleActiveResultSets: Configuring MultipleActiveResultSets for the pdo_sqlsrv driver -->
<slave
name="slave name"
dbname=""
host="localhost"
port="null"
user="root"
password="null"
charset=""
path=""
memory=""
unix-socket=""
persistent=""
protocol=""
service=""
sessionMode=""
pooled=""
MultipleActiveResultSets=""
/>
</connection>
</dbal>
<orm
default-entity-manager=""
auto-generate-proxy-classes="false"
proxy-dir="%kernel.cache_dir%/doctrine/orm/Proxies"
proxy-namespace="Proxies"
>
<!-- prototype -->
<entity-manager
name="entity manager name"
connection=""
class-metadata-factory-name="Doctrine\ORM\Mapping\ClassMetadataFactory"
default-repository-class="Doctrine\ORM\EntityRepository"
auto-mapping="false"
naming-strategy="doctrine.orm.naming_strategy.default"
>
<query-cache-driver
type="array"
host=""
port=""
instance-class=""
class=""
id=""
/>
<metadata-cache-driver
type="array"
host=""
port=""
instance-class=""
class=""
id=""
/>
<result-cache-driver
type="array"
host=""
port=""
instance-class=""
class=""
id=""
/>
<!-- prototype -->
<hydrator name="hydrator name">scalar value</hydrator>
<!-- prototype -->
<mapping
name="mapping name"
mapping="true"
type=""
dir=""
alias=""
prefix=""
is-bundle=""
/>
<dql>
<!-- prototype -->
<string-function name="string function name">scalar value</string-function>
<!-- prototype -->
<numeric-function name="numeric function name">scalar value</numeric-function>
<!-- prototype -->
<datetime-function name="datetime function name">scalar value</datetime-function>
</dql>
<!-- prototype -->
<!-- Register SQL Filters in the entity manager -->
<!-- class: Required -->
<filter
name="filter name"
class=""
enabled="false"
>
<!-- prototype -->
<parameter name="parameter name">value</parameter>
</filter>
</entity-manager>
<!-- prototype -->
<resolve-target-entity interface="resolve target entity interface">scalar value</resolve-target-entity>
</orm>
</doctrine>
<!-- Namespace: http://symfony.com/schema/dic/symfony_extra -->
<sensio-framework-extra>
<router annotations="true" />
<request converters="true" />
<view annotations="true" />
<cache annotations="true" />
<security annotations="true" />
</sensio-framework-extra>
<!-- Namespace: http://symfony.com/schema/dic/webprofiler -->
<web-profiler
toolbar="false"
position="bottom"
intercept-redirects="false"
/>
</config>