diff options
author | Thomas Citharel <tcit@tcit.fr> | 2016-02-10 17:41:28 +0100 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2016-02-10 17:41:28 +0100 |
commit | 567421af5019bf5937aa2b4214b405d87a1f1f86 (patch) | |
tree | d1f8d3ad8593a3a6f33662217a81cbd731287fc9 /src/Wallabag/CoreBundle/Entity/Tag.php | |
parent | ae5b37ef2e52c06182bc6edb14f6b3aae381ddb4 (diff) | |
download | wallabag-567421af5019bf5937aa2b4214b405d87a1f1f86.tar.gz wallabag-567421af5019bf5937aa2b4214b405d87a1f1f86.tar.zst wallabag-567421af5019bf5937aa2b4214b405d87a1f1f86.zip |
remove tag from entry #1377
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Tag.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Tag.php | 10 |
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 | } |