aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/WallabagBundle/Entity
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-23 14:58:17 +0100
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-01-23 14:58:17 +0100
commitb84a80559a1167b5500fbc5eb4965d3b08b371ef (patch)
treef7d0e9917f650b6317b986c9e8baf38880a4fb2e /src/WallabagBundle/Entity
parent163eae0bb15d0daa5390f434a42a8176eca186e7 (diff)
downloadwallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.tar.gz
wallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.tar.zst
wallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.zip
some parameters, new entry form, etc.
Diffstat (limited to 'src/WallabagBundle/Entity')
-rw-r--r--src/WallabagBundle/Entity/Entries.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/WallabagBundle/Entity/Entries.php b/src/WallabagBundle/Entity/Entries.php
index b364e0c3..5849a216 100644
--- a/src/WallabagBundle/Entity/Entries.php
+++ b/src/WallabagBundle/Entity/Entries.php
@@ -3,6 +3,7 @@
3namespace WallabagBundle\Entity; 3namespace WallabagBundle\Entity;
4 4
5use Doctrine\ORM\Mapping as ORM; 5use Doctrine\ORM\Mapping as ORM;
6use Symfony\Component\Validator\Constraints as Assert;
6 7
7/** 8/**
8 * Entries 9 * Entries
@@ -31,6 +32,7 @@ class Entries
31 /** 32 /**
32 * @var string 33 * @var string
33 * 34 *
35 * @Assert\NotBlank()
34 * @ORM\Column(name="url", type="text", nullable=true) 36 * @ORM\Column(name="url", type="text", nullable=true)
35 */ 37 */
36 private $url; 38 private $url;