소스 검색

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

bastien 13 년 전
부모
커밋
8dd47e90e8
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      src/Muzich/CoreBundle/Entity/Element.php

+ 1 - 0
src/Muzich/CoreBundle/Entity/Element.php 파일 보기

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