MediaWiki master
MediaWiki\User\Registration\IUserRegistrationProvider Interface Reference

Inherited by MediaWiki\User\Registration\LocalUserRegistrationProvider.

Public Member Functions

 fetchRegistration (UserIdentity $user)
 Get user registration timestamp.
 

Detailed Description

Since
1.41
Stability: stable
to implement

Definition at line 11 of file IUserRegistrationProvider.php.

Member Function Documentation

◆ fetchRegistration()

MediaWiki\User\Registration\IUserRegistrationProvider::fetchRegistration ( UserIdentity $user)

Get user registration timestamp.

Parameters
UserIdentity$user
Returns
string|false|null Registration timestamp, null if not available or false if it cannot be fetched (anonymous users, for example).

Implemented in MediaWiki\User\Registration\LocalUserRegistrationProvider.


The documentation for this interface was generated from the following file: