diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity')
-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 | } |