Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||
| 1 | <?php |
| 2 | |
| 3 | namespace MediaWiki\User\TempUser; |
| 4 | |
| 5 | /** |
| 6 | * Interface for integer to string mappings for temporary user autocreation |
| 7 | * |
| 8 | * @since 1.39 |
| 9 | */ |
| 10 | interface SerialMapping { |
| 11 | /** |
| 12 | * @param int $index |
| 13 | * @return string The serial ID. This should consist of title characters |
| 14 | * but should not be a single asterisk. |
| 15 | */ |
| 16 | public function getSerialIdForIndex( int $index ): string; |
| 17 | } |