accepted = false; } /** * @return int */ public function getId() { return $this->id; } /** * @return User */ public function getUserOrigin() { return $this->userOrigin; } /** * @param User $userOrigin * @return Share */ public function setUserOrigin(User $userOrigin) { $this->userOrigin = $userOrigin; return $this; } /** * @return User */ public function getUserDestination() { return $this->userDestination; } /** * @param User $userDestination * @return Share */ public function setUserDestination(User $userDestination) { $this->userDestination = $userDestination; return $this; } /** * @return bool */ public function isAccepted() { return $this->accepted; } /** * @param bool $accepted * @return Share */ public function setAccepted($accepted) { $this->accepted = $accepted; return $this; } /** * @return Entry */ public function getEntry() { return $this->entry; } /** * @param Entry $entry * @return Share */ public function setEntry(Entry $entry) { $this->entry = $entry; return $this; } }