aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Tag.php
diff options
context:
space:
mode:
authorJeremy Benoist <j0k3r@users.noreply.github.com>2016-02-11 16:49:03 +0100
committerJeremy Benoist <j0k3r@users.noreply.github.com>2016-02-11 16:49:03 +0100
commit9b5edf33a00490b033692efca9987a35225835ba (patch)
tree73d3c24ecdeab3b65b1ea2ca2d90fe6d31d5780c /src/Wallabag/CoreBundle/Entity/Tag.php
parent5db084e05b84ac87179336b96b5db9579fa78c67 (diff)
parente686a76d343a3745c3dfe8010d9e5784e56bb17c (diff)
downloadwallabag-9b5edf33a00490b033692efca9987a35225835ba.tar.gz
wallabag-9b5edf33a00490b033692efca9987a35225835ba.tar.zst
wallabag-9b5edf33a00490b033692efca9987a35225835ba.zip
Merge pull request #1663 from wallabag/v2-remove-tags-from-entry
remove tag from entry #1377
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Tag.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php
index c1940e99..a6e2d023 100644
--- a/src/Wallabag/CoreBundle/Entity/Tag.php
+++ b/src/Wallabag/CoreBundle/Entity/Tag.php
@@ -107,4 +107,14 @@ class Tag
107 { 107 {
108 return $this->entries->contains($entry); 108 return $this->entries->contains($entry);
109 } 109 }
110
111 /**
112 * Get entries for this tag.
113 *
114 * @return ArrayCollection<Entry>
115 */
116 public function getEntries()
117 {
118 return $this->entries;
119 }
110} 120}