diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Entity/Entry.php | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Entity/Entry.php b/src/Wallabag/CoreBundle/Entity/Entry.php index 84555b36..028eeb52 100644 --- a/src/Wallabag/CoreBundle/Entity/Entry.php +++ b/src/Wallabag/CoreBundle/Entity/Entry.php | |||
@@ -235,7 +235,7 @@ class Entry | |||
235 | 235 | ||
236 | /** | 236 | /** |
237 | * @var ArrayCollection | 237 | * @var ArrayCollection |
238 | * @ORM\ManyToMany(targetEntity="Wallabag\GroupBundle\Entity\Group", inversedBy="presentations", cascade={"persist"}) | 238 | * @ORM\ManyToMany(targetEntity="Wallabag\GroupBundle\Entity\Group", inversedBy="entries", cascade={"persist"}) |
239 | */ | 239 | */ |
240 | private $groupShares; | 240 | private $groupShares; |
241 | 241 | ||
@@ -784,4 +784,20 @@ class Entry | |||
784 | 784 | ||
785 | return $this; | 785 | return $this; |
786 | } | 786 | } |
787 | |||
788 | /** | ||
789 | * @return ArrayCollection | ||
790 | */ | ||
791 | public function getGroupShares() | ||
792 | { | ||
793 | return $this->groupShares; | ||
794 | } | ||
795 | |||
796 | /** | ||
797 | * @param ArrayCollection $groupShares | ||
798 | */ | ||
799 | public function setGroupShares($groupShares) | ||
800 | { | ||
801 | $this->groupShares = $groupShares; | ||
802 | } | ||
787 | } | 803 | } |