We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5df76b2 commit ec29f1eCopy full SHA for ec29f1e
reference/constraints/Traverse.rst
@@ -18,7 +18,7 @@ Basic Usage
18
19
In the following example, create three classes ``Book``, ``Author`` and ``Editor``
20
that all have constraints on their properties. Furthermore, ``Book``
21
-stores an ``Author`` and an ``Editor`` instances that must be valid too::
+stores an ``Author`` and an ``Editor`` instance that must be valid too::
22
23
.. configuration-block::
24
@@ -79,6 +79,7 @@ stores an ``Author`` and an ``Editor`` instances that must be valid too::
79
namespace AppBundle\Entity;
80
81
use Symfony\Component\Validator\Constraints as Assert;
82
+ use Symfony\Component\Validator\Mapping\ClassMetadata;
83
84
class Book
85
{
0 commit comments