MediaWiki master
UserEmailContact.php
Go to the documentation of this file.
1<?php
2
3namespace MediaWiki\Mail;
4
6
12
16 public function getUser(): UserIdentity;
17
21 public function getEmail(): string;
22
26 public function getRealName(): string;
27
31 public function isEmailConfirmed(): bool;
32}
getRealName()
Get the user's 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()
Gets the user email address or an empty string if unknown.
Interface for objects representing user identity.