diff --git a/reference/configuration/framework.rst b/reference/configuration/framework.rst index c9ecfa4800b..ef437247a45 100644 --- a/reference/configuration/framework.rst +++ b/reference/configuration/framework.rst @@ -95,7 +95,7 @@ Configuration * :ref:`enable_annotations ` * `translation_domain`_ * `strict_email`_ - * `mapping`_ + * :ref:`mapping ` * :ref:`paths ` * `annotations`_ * :ref:`cache ` @@ -107,6 +107,8 @@ Configuration * :ref:`enable_annotations ` * :ref:`name_converter ` * :ref:`circular_reference_handler ` + * :ref:`mapping ` + * :ref:`paths ` * `php_errors`_ * `log`_ * `throw`_ @@ -1567,6 +1569,8 @@ If this option is enabled, the `egulias/email-validator`_ library will be used by the :doc:`/reference/constraints/Email` constraint validator. Otherwise, the validator uses a simple regular expression to validate email addresses. +.. _reference-validation-mapping: + mapping ....... @@ -1692,6 +1696,21 @@ method. For more information, see :ref:`component-serializer-handling-circular-references`. +.. _reference-serializer-mapping: + +mapping +....... + +.. _reference-serializer-mapping-paths: + +paths +""""" + +**type**: ``array`` **default**: ``[]`` + +This option allows to define an array of paths with files or directories where +the component will look for additional serialization files. + php_errors ~~~~~~~~~~