Lines Matching refs:UserInterface
23 use Fisharebest\Webtrees\Contracts\UserInterface; alias
86 * @param UserInterface $sender
87 * @param UserInterface $recipient
95 …public function deliverMessage(UserInterface $sender, UserInterface $recipient, string $subject, s…
101 I18N::init($recipient->getPreference(UserInterface::PREF_LANGUAGE));
148 * @param UserInterface $user
152 public function sendInternalMessage(UserInterface $user): bool
154 return in_array($user->getPreference(UserInterface::PREF_CONTACT_METHOD), [
165 * @param UserInterface $user
169 public function sendEmail(UserInterface $user): bool
171 return in_array($user->getPreference(UserInterface::PREF_CONTACT_METHOD), [
194 …UserInterface $user): bool => $user->getPreference(UserInterface::PREF_IS_ACCOUNT_APPROVED) === '1…
198 …return $this->user_service->all()->filter(static function (UserInterface $user) use ($six_months_a…
199 … $session_time = (int) $user->getPreference(UserInterface::PREF_TIMESTAMP_ACTIVE);