id; } /** * Set follower * * @param User $follower */ public function setFollower(User $follower) { $this->follower = $follower; } /** * Get follower * * @return User */ public function getFollower() { return $this->follower; } /** * Set group * * @param Group $group */ public function setGroup(Group $group) { $this->group = $group; } /** * Get group * * @return Group */ public function getGroup() { return $this->group; } /** * Retourne le groupe suivis * * @return Group */ public function getFollowed() { return $this->group; } }