]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/WallabagBundle/Entity/Entries.php
some parameters, new entry form, etc.
[github/wallabag/wallabag.git] / src / WallabagBundle / Entity / Entries.php
index b364e0c334258c0531b97493f6f31d6965df79a7..5849a21612019c0b1d728844f91dea28fc1ab0de 100644 (file)
@@ -3,6 +3,7 @@
 namespace WallabagBundle\Entity;
 
 use Doctrine\ORM\Mapping as ORM;
+use Symfony\Component\Validator\Constraints as Assert;
 
 /**
  * Entries
@@ -31,6 +32,7 @@ class Entries
     /**
      * @var string
      *
+     * @Assert\NotBlank()
      * @ORM\Column(name="url", type="text", nullable=true)
      */
     private $url;