MediaWiki REL1_32
|
Public Member Functions | |
__construct (ILoadBalancer $lb, BagOStuff $cache) | |
OATHUserRepository constructor. | |
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, cache, DB_REPLICA, 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 cache, DB_MASTER, getDB(), and OATHUser\getUser().
OATHUserRepository::remove | ( | OATHUser | $user | ) |
|
protected |
Definition at line 27 of file OATHUserRepository.php.
Referenced by __construct().
|
protected |
Definition at line 24 of file OATHUserRepository.php.
Referenced by __construct().