Skip to content

Commit

Permalink
Reordered the configuration blocks of the first example
Browse files Browse the repository at this point in the history
  • Loading branch information
javiereguiluz authored and weaverryan committed Jul 7, 2015
1 parent 5d7b2a1 commit 1135910
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions reference/constraints/Url.rst
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,6 @@ Basic Usage

.. configuration-block::

.. code-block:: yaml
# src/Acme/BlogBundle/Resources/config/validation.yml
Acme\BlogBundle\Entity\Author:
properties:
bioUrl:
- Url: ~
.. code-block:: php-annotations
// src/Acme/BlogBundle/Entity/Author.php
Expand All @@ -42,6 +34,14 @@ Basic Usage
protected $bioUrl;
}
.. code-block:: yaml
# src/Acme/BlogBundle/Resources/config/validation.yml
Acme\BlogBundle\Entity\Author:
properties:
bioUrl:
- Url: ~
.. code-block:: xml
<!-- src/Acme/BlogBundle/Resources/config/validation.xml -->
Expand Down

0 comments on commit 1135910

Please sign in to comment.