diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-05 19:41:23 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-03-06 21:09:15 +0100 |
commit | 48b67328e24f1cde00287613507a8f5fcd222f2f (patch) | |
tree | 2914d6a0c6179b1c45352ada6ebfa4aca747bd9d | |
parent | efad7e53a1e881dd686c003b624b429ee1e5b52e (diff) | |
download | wallabag-48b67328e24f1cde00287613507a8f5fcd222f2f.tar.gz wallabag-48b67328e24f1cde00287613507a8f5fcd222f2f.tar.zst wallabag-48b67328e24f1cde00287613507a8f5fcd222f2f.zip |
add getUser on Tag entity
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Tag.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Tag.php b/src/Wallabag/CoreBundle/Entity/Tag.php index 29a5e4b5..9ae5867c 100644 --- a/src/Wallabag/CoreBundle/Entity/Tag.php +++ b/src/Wallabag/CoreBundle/Entity/Tag.php | |||
@@ -88,4 +88,12 @@ class Tag | |||
88 | { | 88 | { |
89 | $this->entries[] = $entry; | 89 | $this->entries[] = $entry; |
90 | } | 90 | } |
91 | |||
92 | /** | ||
93 | * @return User | ||
94 | */ | ||
95 | public function getUser() | ||
96 | { | ||
97 | return $this->user; | ||
98 | } | ||
91 | } | 99 | } |