MediaWiki
1.32.5
|
Public Member Functions | |
__construct (ILoadBalancer $lb, BagOStuff $cache) | |
OATHUserRepository constructor. More... | |
findByUser (User $user) | |
persist (OATHUser $user) | |
remove (OATHUser $user) | |
Protected Attributes | |
BagOStuff | $cache |
ILoadBalancer | $lb |
Private Member Functions | |
getDB ( $index) | |
Definition at line 22 of file OATHUserRepository.php.
OATHUserRepository::__construct | ( | ILoadBalancer | $lb, |
BagOStuff | $cache | ||
) |
OATHUserRepository constructor.
ILoadBalancer | $lb | |
BagOStuff | $cache |
Definition at line 34 of file OATHUserRepository.php.
OATHUserRepository::findByUser | ( | User | $user | ) |
User | $user |
Definition at line 43 of file OATHUserRepository.php.
References $res, $user, cache, DB_REPLICA, CentralIdLookup\factory(), getDB(), and User\getName().
|
private |
integer | $index | DB_MASTER/DB_REPLICA |
Definition at line 98 of file OATHUserRepository.php.
Referenced by findByUser(), persist(), and remove().
OATHUserRepository::persist | ( | OATHUser | $user | ) |
OATHUser | $user |
Definition at line 68 of file OATHUserRepository.php.
References $user, cache, DB_MASTER, CentralIdLookup\factory(), getDB(), and OATHUser\getUser().
OATHUserRepository::remove | ( | OATHUser | $user | ) |
OATHUser | $user |
Definition at line 85 of file OATHUserRepository.php.
References $user, cache, DB_MASTER, CentralIdLookup\factory(), and getDB().
|
protected |
Definition at line 27 of file OATHUserRepository.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file OATHUserRepository.php.
Referenced by __construct().