aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-19 11:46:21 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2015-08-22 12:40:48 +0200
commit7244d6cb61912b80341595c56cc22d9bb56e6251 (patch)
treefdb958dd7a798ec52c013edd75df9e4233c08934 /src/Wallabag/CoreBundle/Entity
parent109d67dbb16478f927c3d6a46ab61ea9994aafae (diff)
downloadwallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.tar.gz
wallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.tar.zst
wallabag-7244d6cb61912b80341595c56cc22d9bb56e6251.zip
assign tags to an entry
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tag.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php
index 6f005314..97c4579f 100644
--- a/src/Wallabag/CoreBundle/Entity/Tag.php
+++ b/src/Wallabag/CoreBundle/Entity/Tag.php
@@ -96,6 +96,11 @@ class Tag
96 $this->entries[] = $entry; 96 $this->entries[] = $entry;
97 } 97 }
98 98
99 public function hasEntry($entry)
100 {
101 return $this->entries->contains($entry);
102 }
103
99 /** 104 /**
100 * @return User 105 * @return User
101 */ 106 */