Skip to content

Commit 1135910

Browse files
javiereguiluzweaverryan
authored andcommitted
Reordered the configuration blocks of the first example
1 parent 5d7b2a1 commit 1135910

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

reference/constraints/Url.rst

+8-8
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,6 @@ Basic Usage
1919

2020
.. configuration-block::
2121

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-
3022
.. code-block:: php-annotations
3123
3224
// src/Acme/BlogBundle/Entity/Author.php
@@ -42,6 +34,14 @@ Basic Usage
4234
protected $bioUrl;
4335
}
4436
37+
.. code-block:: yaml
38+
39+
# src/Acme/BlogBundle/Resources/config/validation.yml
40+
Acme\BlogBundle\Entity\Author:
41+
properties:
42+
bioUrl:
43+
- Url: ~
44+
4545
.. code-block:: xml
4646
4747
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->

0 commit comments

Comments
 (0)