diff --git a/book/validation.rst b/book/validation.rst index f3b39aad6ea..2ab38090cde 100644 --- a/book/validation.rst +++ b/book/validation.rst @@ -103,6 +103,11 @@ following: Protected and private properties can also be validated, as well as "getter" methods (see :ref:`validator-constraint-targets`). +.. versionadded:: 2.7 + As of Symfony 2.7, XML and Yaml constraint files located in the + ``Resources/config/validation`` sub-directory of a bundle are loaded. Prior + to 2.7, only ``Resources/config/validation.yml`` (or ``.xml``) were loaded. + .. index:: single: Validation; Using the validator