MediaWiki
REL1_37
UserEmailContact.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\Mail
;
4
5
use
MediaWiki\User\UserIdentity
;
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\Mail\UserEmailContact
Definition
UserEmailContact.php:11
MediaWiki\Mail\UserEmailContact\getRealName
getRealName()
Get user real name or an empty string if unknown.
MediaWiki\Mail\UserEmailContact\getUser
getUser()
Get the identity of the user this contact belongs to.
MediaWiki\Mail\UserEmailContact\isEmailConfirmed
isEmailConfirmed()
Whether user email was confirmed.
MediaWiki\Mail\UserEmailContact\getEmail
getEmail()
Get user email address an empty string if unknown.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Mail
Definition
Emailer.php:21
includes
mail
UserEmailContact.php
Generated on Fri Apr 5 2024 23:40:34 for MediaWiki by
1.9.8