Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitd464e84

Browse files
committed
feature#8529 Documented the framework.serializer.mapping config option (javiereguiluz, weaverryan)
This PR was merged into the 3.3 branch.Discussion----------Documented the framework.serializer.mapping config optionThisfixes#7701.Commits-------8a1b7e0 fix typod3f9522 Fixed the reference to a repeated config optiond5b6154 Documented the framework.serializer.mapping config option
2 parents079b413 +8a1b7e0 commitd464e84

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

‎reference/configuration/framework.rst‎

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Configuration
102102
*:ref:`enable_annotations<reference-validation-enable_annotations>`
103103
* `translation_domain`_
104104
* `strict_email`_
105-
* `mapping`_
105+
*:ref:`mapping<reference-validation-mapping>`
106106
*:ref:`paths<reference-validation-mapping-paths>`
107107
* `annotations`_
108108
*:ref:`cache<reference-annotations-cache>`
@@ -114,6 +114,8 @@ Configuration
114114
*:ref:`enable_annotations<reference-serializer-enable_annotations>`
115115
*:ref:`name_converter<reference-serializer-name_converter>`
116116
*:ref:`circular_reference_handler<reference-serializer-circular_reference_handler>`
117+
*:ref:`mapping<reference-serializer-mapping>`
118+
*:ref:`paths<reference-serializer-mapping-paths>`
117119
* `php_errors`_
118120
* `log`_
119121
* `throw`_
@@ -1637,6 +1639,8 @@ If this option is enabled, the `egulias/email-validator`_ library will be
16371639
used by the:doc:`/reference/constraints/Email` constraint validator. Otherwise,
16381640
the validator uses a simple regular expression to validate email addresses.
16391641

1642+
.. _reference-validation-mapping:
1643+
16401644
mapping
16411645
.......
16421646

@@ -1762,6 +1766,21 @@ method.
17621766
For more information, see
17631767
:ref:`component-serializer-handling-circular-references`.
17641768

1769+
.. _reference-serializer-mapping:
1770+
1771+
mapping
1772+
.......
1773+
1774+
.. _reference-serializer-mapping-paths:
1775+
1776+
paths
1777+
"""""
1778+
1779+
**type**: ``array`` **default**: ``[]``
1780+
1781+
This option allows to define an array of paths with files or directories where
1782+
the component will look for additional serialization files.
1783+
17651784
php_errors
17661785
~~~~~~~~~~
17671786

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp