MediaWiki master
UserEmailContact.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Mail;
4
6
12
18 public function getUser(): UserIdentity;
19
25 public function getEmail(): string;
26
32 public function getRealName(): string;
33
39 public function isEmailConfirmed(): bool;
40}
getRealName()
Get user real name or an empty string if unknown.
getUser()
Get the identity of the user this contact belongs to.
isEmailConfirmed()
Whether user email was confirmed.
getEmail()
Get user email address an empty string if unknown.
Interface for objects representing user identity.