]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Entity/Entry.php
MOAR WIP
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Entity / Entry.php
index 84555b3689800623e97a1b7dfff64c7ea0036276..028eeb52981d6b7085a1cc6746dc74dba59eee7c 100644 (file)
@@ -235,7 +235,7 @@ class Entry
 
     /**
      * @var ArrayCollection
-     * @ORM\ManyToMany(targetEntity="Wallabag\GroupBundle\Entity\Group", inversedBy="presentations", cascade={"persist"})
+     * @ORM\ManyToMany(targetEntity="Wallabag\GroupBundle\Entity\Group", inversedBy="entries", cascade={"persist"})
      */
     private $groupShares;
 
@@ -784,4 +784,20 @@ class Entry
 
         return $this;
     }
+
+    /**
+     * @return ArrayCollection
+     */
+    public function getGroupShares()
+    {
+        return $this->groupShares;
+    }
+
+    /**
+     * @param ArrayCollection $groupShares
+     */
+    public function setGroupShares($groupShares)
+    {
+        $this->groupShares = $groupShares;
+    }
 }