MediaWiki master
|
Interface for serial providers for temporary users. More...
Inherited by MediaWiki\User\TempUser\DBSerialProvider.
Public Member Functions | |
acquireIndex (int $year=0) | |
Acquire an integer such that it is unlikely to be used again, and return it. | |
Interface for serial providers for temporary users.
Definition at line 10 of file SerialProvider.php.
MediaWiki\User\TempUser\SerialProvider::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). |
Implemented in MediaWiki\User\TempUser\DBSerialProvider.