MediaWiki master
|
Base class for serial acquisition code shared between core and CentralAuth. More...
Inherits MediaWiki\User\TempUser\SerialProvider.
Inherited by MediaWiki\User\TempUser\LocalSerialProvider.
Public Member Functions | |
__construct ( $config) | |
acquireIndex (int $year=0) | |
Acquire an integer such that it is unlikely to be used again, and return it. | |
Protected Member Functions | |
getDB () | |
getTableName () | |
Base class for serial acquisition code shared between core and CentralAuth.
Definition at line 13 of file DBSerialProvider.php.
MediaWiki\User\TempUser\DBSerialProvider::__construct | ( | $config | ) |
array | $config |
|
Definition at line 23 of file DBSerialProvider.php.
MediaWiki\User\TempUser\DBSerialProvider::acquireIndex | ( | int | $year = 0 | ) |
Acquire an integer such that it is unlikely to be used again, and return it.
int | $year | The current year, as calculated by the caller (or 0 if the year is not being used). |
Implements MediaWiki\User\TempUser\SerialProvider.
Definition at line 27 of file DBSerialProvider.php.
|
abstractprotected |
Reimplemented in MediaWiki\User\TempUser\LocalSerialProvider.
|
abstractprotected |
Reimplemented in MediaWiki\User\TempUser\LocalSerialProvider.