Explorar el Código

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

bastien hace 13 años
padre
commit
8dd47e90e8
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      src/Muzich/CoreBundle/Entity/Element.php

+ 1 - 0
src/Muzich/CoreBundle/Entity/Element.php Ver fichero

@@ -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;