diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-23 14:58:17 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-01-23 14:58:17 +0100 |
commit | b84a80559a1167b5500fbc5eb4965d3b08b371ef (patch) | |
tree | f7d0e9917f650b6317b986c9e8baf38880a4fb2e /src/WallabagBundle/Entity/Entries.php | |
parent | 163eae0bb15d0daa5390f434a42a8176eca186e7 (diff) | |
download | wallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.tar.gz wallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.tar.zst wallabag-b84a80559a1167b5500fbc5eb4965d3b08b371ef.zip |
some parameters, new entry form, etc.
Diffstat (limited to 'src/WallabagBundle/Entity/Entries.php')
-rw-r--r-- | src/WallabagBundle/Entity/Entries.php | 2 |
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 @@ | |||
3 | namespace WallabagBundle\Entity; | 3 | namespace WallabagBundle\Entity; |
4 | 4 | ||
5 | use Doctrine\ORM\Mapping as ORM; | 5 | use Doctrine\ORM\Mapping as ORM; |
6 | use 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; |