/** * Mark this topic as unread for a certain user. * * @param FrontendUser $supporter The user for whom to mark this topic as unread. * * @return void */ public function removeSupporter(FrontendUser $supporter) { $this->setHelpfulCount($this->getHelpfulCount() - 1); $this->supporters->detach($supporter); }
/** * Removes a user from this tag * * @param $feuser FrontendUser */ public function removeFeuser(FrontendUser $feuser) { $this->feuser->detach($feuser); }
/** * Mark this forum as unread for a certain user. * * @param FrontendUser $reader The user for whom to mark this forum as unread. * * @return void */ public function removeReader(FrontendUser $reader) { $this->readers->detach($reader); }
/** * Removes a subscriber. * * @param \Mittwald\Typo3Forum\Domain\Model\User\FrontendUser $user The subscriber to be removed. */ public function removeSubscriber(\Mittwald\Typo3Forum\Domain\Model\User\FrontendUser $user) { $this->subscribers->detach($user); }