Permalink
Browse files

bug #4145 Fix documentation for group_sequence_provider (giosh94mhz)

This PR was merged into the 2.3 branch.

Discussion
----------

Fix documentation for group_sequence_provider

The current documentation for `group_sequence_provider` option in the docs is wrong.
It states that the option should be set with:
```YAML
Your\Class\Name:
    group_sequence_provider: ~
    ...
````
But this didn't work.

By looking at the unit test I came up the the right version:
```YAML
Your\Class\Name:
    group_sequence_provider: true
    ...
````

Commits
-------

81cec5d Fix documentation for group_sequence_provider
  • Loading branch information...
weaverryan committed Aug 25, 2014
2 parents bccb080 + 81cec5d commit eaaa35af3b9d9753484bfc0d35fc07bc933fdb0d
Showing with 1 addition and 1 deletion.
  1. +1 −1 book/validation.rst
@@ -1115,7 +1115,7 @@ provides a sequence of groups to be validated:
# src/Acme/DemoBundle/Resources/config/validation.yml
Acme\DemoBundle\Entity\User:
group_sequence_provider: ~
group_sequence_provider: true
.. code-block:: php-annotations

0 comments on commit eaaa35a

Please sign in to comment.