We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d979c37 commit 6f9be2cCopy full SHA for 6f9be2c
cookbook/validation/custom_constraint.rst
@@ -238,7 +238,7 @@ not to the property:
238
# src/Acme/BlogBundle/Resources/config/validation.yml
239
Acme\DemoBundle\Entity\AcmeEntity:
240
constraints:
241
- ContainsAlphanumeric: ~
+ Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric: ~
242
243
.. code-block:: php-annotations
244
@@ -254,5 +254,5 @@ not to the property:
254
255
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->
256
<class name="Acme\DemoBundle\Entity\AcmeEntity">
257
- <constraint name="ContainsAlphanumeric" />
+ <constraint name="Acme\DemoBundle\Validator\Constraints\ContainsAlphanumeric" />
258
</class>
0 commit comments