File tree 1 file changed +26
-0
lines changed
1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -103,6 +103,9 @@ Configuration
103
103
* :ref: `cache <reference-serializer-cache >`
104
104
* :ref: `enable_annotations <reference-serializer-enable_annotations >`
105
105
* `name_converter `_
106
+ * `php_errors `_
107
+ * `log `_
108
+ * `throw `_
106
109
107
110
secret
108
111
~~~~~~
@@ -1433,6 +1436,24 @@ value.
1433
1436
For more information, see
1434
1437
:ref: `component-serializer-converting-property-names-when-serializing-and-deserializing `.
1435
1438
1439
+ php_errors
1440
+ ~~~~~~~~~~
1441
+
1442
+ log
1443
+ ...
1444
+
1445
+ **type **: ``boolean `` **default **: ``false ``
1446
+
1447
+ Use the application logger instead of the PHP logger for logging PHP errors.
1448
+
1449
+ throw
1450
+ .....
1451
+
1452
+ **type **: ``boolean `` **default **: ``%kernel.debug% ``
1453
+
1454
+ Throw PHP errors as ``\ErrorException `` instances. The parameter
1455
+ ``debug.error_handler.throw_at `` control the threshold.
1456
+
1436
1457
Full Default Configuration
1437
1458
--------------------------
1438
1459
@@ -1569,6 +1590,11 @@ Full Default Configuration
1569
1590
file_cache_dir : ' %kernel.cache_dir%/annotations'
1570
1591
debug : ' %kernel.debug%'
1571
1592
1593
+ # PHP errors handling configuration
1594
+ php_errors :
1595
+ log : false
1596
+ throw : ' %kernel.debug%'
1597
+
1572
1598
.. _`HTTP Host header attacks` : http://www.skeletonscribe.net/2013/05/practical-http-host-header-attacks.html
1573
1599
.. _`Security Advisory Blog post` : https://symfony.com/blog/security-releases-symfony-2-0-24-2-1-12-2-2-5-and-2-3-3-released#cve-2013-4752-request-gethost-poisoning
1574
1600
.. _`Doctrine Cache` : http://docs.doctrine-project.org/projects/doctrine-common/en/latest/reference/caching.html
You can’t perform that action at this time.
0 commit comments