followers = new ArrayCollection(); $this->following = new ArrayCollection(); $this->liked = new ArrayCollection(); } /** * @return int */ public function getId() { return $this->id; } /** * @return string */ public function getUsername() { return $this->username; } /** * @param string $username * @return Account */ public function setUsername($username) { $this->username = $username; return $this; } /** * @return string */ public function getServer() { return $this->server; } /** * @param string $server * @return Account */ public function setServer($server) { $this->server = $server; return $this; } /** * @return User */ public function getUser() { return $this->user; } /** * @param User $user * @return Account */ public function setUser(User $user) { $this->user = $user; return $this; } /** * @return Collection */ public function getFollowers() { return $this->followers; } /** * @param Collection $followers * @return Account */ public function setFollowers($followers) { $this->followers = $followers; return $this; } /** * @param Account $account * @return Account */ public function addFollower(Account $account) { $this->followers->add($account); return $this; } /** * @return Collection */ public function getFollowing() { return $this->following; } /** * @param Collection $following * @return Account */ public function setFollowing(Collection $following) { $this->following = $following; return $this; } /** * @param Account $account * @return Account */ public function addFollowing(Account $account) { $this->following->add($account); return $this; } /** * @return Collection */ public function getLiked() { return $this->liked; } /** * @param Collection $liked * @return Account */ public function setLiked(Collection $liked) { $this->liked = $liked; return $this; } /** * @param Entry $entry * @return Account */ public function addLiked(Entry $entry) { $this->liked->add($entry); return $this; } /** * @return string */ public function getAvatar() { return $this->avatar; } /** * @param string $avatar * @return Account */ public function setAvatar($avatar) { $this->avatar = $avatar; return $this; } /** * @return string */ public function getBanner() { return $this->banner; } /** * @param string $banner * @return Account */ public function setBanner($banner) { $this->banner = $banner; return $this; } /** * @return string */ public function getDescription() { return $this->description; } /** * @param string $description * @return Account */ public function setDescription($description) { $this->description = $description; return $this; } }