/** * Adds forum to collection of forums * * @param Forum $forum * * @return User */ public function addForum(Forum $forum) { $forum->setAuthor($this); $this->forums->add($forum); return $this; }
/** * Adds forum to collection of forums * * @param Forum $forum * * @return User */ public function addForum(Forum $forum) { $forum->setAuthor($this); $this->forums->add($forum); return $this; }