Browse Source

Ajout de la contrainte de type Url sur l'attribut url de l'entité Element.

bastien 13 years ago
parent
commit
8dd47e90e8
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/CoreBundle/Entity/Element.php

+ 1 - 0
src/Muzich/CoreBundle/Entity/Element.php View File

@@ -77,6 +77,7 @@ class Element
77 77
    * @ORM\Column(type="string", length=1024)
78 78
    * @Assert\NotBlank()
79 79
    * @Assert\MaxLength(1024)
80
+   * @Assert\Url()
80 81
    * @var type string
81 82
    */
82 83
   protected $url;