MediaWiki  master
UserEmailContact.php
Go to the documentation of this file.
1 <?php
2 
3 namespace MediaWiki\Mail;
4 
6 
11 interface UserEmailContact {
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 }
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:39
MediaWiki\Mail
Definition: Emailer.php:21
MediaWiki\Mail\UserEmailContact\getUser
getUser()
Get the identity of the user this contact belongs to.
MediaWiki\Mail\UserEmailContact\getRealName
getRealName()
Get user real name or an empty string if unknown.
MediaWiki\Mail\UserEmailContact
Definition: UserEmailContact.php:11
MediaWiki\Mail\UserEmailContact\isEmailConfirmed
isEmailConfirmed()
Whether user email was confirmed.
MediaWiki\Mail\UserEmailContact\getEmail
getEmail()
Get user email address an empty string if unknown.