]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
add getUser on Tag entity
authorNicolas Lœuillet <nicolas@loeuillet.org>
Thu, 5 Mar 2015 18:41:23 +0000 (19:41 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Fri, 6 Mar 2015 20:09:15 +0000 (21:09 +0100)
src/Wallabag/CoreBundle/Entity/Tag.php

index 29a5e4b5eb69e1b2b07ef1bb49608afce7469e7a..9ae5867c6981ceccb04fbff2c24e1ef2d5a1567e 100644 (file)
@@ -88,4 +88,12 @@ class Tag
     {
         $this->entries[] = $entry;
     }
+
+    /**
+     * @return User
+     */
+    public function getUser()
+    {
+        return $this->user;
+    }
 }