MediaWiki
master
UserOptionsStore.php
Go to the documentation of this file.
1
<?php
2
3
namespace
MediaWiki\User\Options
;
4
5
use
MediaWiki\User\UserIdentity
;
6
11
interface
UserOptionsStore
{
22
public
function
fetch
(
UserIdentity
$user,
int
$recency );
23
41
public
function
store
(
UserIdentity
$user, array $updates );
42
}
MediaWiki\User\Options\UserOptionsStore
Definition
UserOptionsStore.php:11
MediaWiki\User\Options\UserOptionsStore\store
store(UserIdentity $user, array $updates)
Process a batch of option updates.
MediaWiki\User\Options\UserOptionsStore\fetch
fetch(UserIdentity $user, int $recency)
Fetch all options for a given user from the store.
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\User\Options
Definition
ConditionalDefaultsLookup.php:3
includes
user
Options
UserOptionsStore.php
Generated on Sat Dec 7 2024 23:26:47 for MediaWiki by
1.10.0