aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Entity/Entry.php
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2017-04-27 19:17:19 +0200
committerThomas Citharel <tcit@tcit.fr>2017-06-23 09:27:23 +0200
commit5847dd3572caf06c0e0d5e307241c3b6bc3f8611 (patch)
tree8905d4de388dd18239ea323f4650ff0070064eab /src/Wallabag/CoreBundle/Entity/Entry.php
parent2585953e0dae631b65c59b0e31196d65bdde84df (diff)
downloadwallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.gz
wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.tar.zst
wallabag-5847dd3572caf06c0e0d5e307241c3b6bc3f8611.zip
MOAR WIP
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Diffstat (limited to 'src/Wallabag/CoreBundle/Entity/Entry.php')
-rw-r--r--src/Wallabag/CoreBundle/Entity/Entry.php18
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}