Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F2751646
IUserRegistrationProvider.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
788 B
Referenced Files
None
Subscribers
None
IUserRegistrationProvider.php
View Options
<?php
namespace
MediaWiki\User\Registration
;
use
MediaWiki\User\UserIdentity
;
/**
* @since 1.41
* @stable to implement
*/
interface
IUserRegistrationProvider
{
/**
* Get user registration timestamp
*
* @param UserIdentity $user
* @return string|false|null Registration timestamp (TS_MW), null if not available or false if it
* cannot be fetched (anonymous users, for example).
*/
public
function
fetchRegistration
(
UserIdentity
$user
);
/**
* Get user registration timestamps for a batch of users.
*
* @since 1.44
* @param iterable<UserIdentity> $users
* @return string[]|null[] Map of registration timestamps in MediaWiki format
* (or `null` if not available) keyed by user ID.
*/
public
function
fetchRegistrationBatch
(
iterable
$users
):
array
;
}
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Fri, Jul 3, 18:57 (1 d, 16 h)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
eb/9e/1966e2a47ac69ab102a8a5591310
Default Alt Text
IUserRegistrationProvider.php (788 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment