We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5d7b2a1 commit 1135910Copy full SHA for 1135910
reference/constraints/Url.rst
@@ -19,14 +19,6 @@ Basic Usage
19
20
.. configuration-block::
21
22
- .. code-block:: yaml
23
-
24
- # src/Acme/BlogBundle/Resources/config/validation.yml
25
- Acme\BlogBundle\Entity\Author:
26
- properties:
27
- bioUrl:
28
- - Url: ~
29
30
.. code-block:: php-annotations
31
32
// src/Acme/BlogBundle/Entity/Author.php
@@ -42,6 +34,14 @@ Basic Usage
42
34
protected $bioUrl;
43
35
}
44
36
37
+ .. code-block:: yaml
38
+
39
+ # src/Acme/BlogBundle/Resources/config/validation.yml
40
+ Acme\BlogBundle\Entity\Author:
41
+ properties:
+ bioUrl:
+ - Url: ~
45
.. code-block:: xml
46
47
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->
0 commit comments