Lines Matching refs:User
30 use Fisharebest\Webtrees\User; alias
48 public function find(int|null $user_id): User|null
51 ->remember('user-' . $user_id, static fn (): User|null => DB::table('user')
54 ->map(User::rowMapper())
61 public function findByEmail(string $email): User|null
66 ->map(User::rowMapper())
73 public function findByIdentifier(string $identifier): User|null
79 ->map(User::rowMapper())
99 ->map(User::rowMapper());
105 public function findByToken(string $token): User|null
116 ->map(User::rowMapper())
123 public function findByUserName(string $user_name): User|null
128 ->map(User::rowMapper())
177 ->map(User::rowMapper());
195 ->map(User::rowMapper());
214 ->map(User::rowMapper());
233 ->map(User::rowMapper());
258 ->map(User::rowMapper());
283 ->map(User::rowMapper());
300 ->map(User::rowMapper());
313 * @return User
326 return new User($user_id, $user_name, $real_name, $email);
332 * @param User $user
336 public function delete(User $user): void
367 * @param User $contact_user
372 public function contactLink(User $contact_user, ServerRequestInterface $request): string
379 } elseif ($user instanceof User) {