Debian Codegraph @

includes/user/Registration/IUserRegistrationProvider.php

raw symbols SCIP
1 <?php
2
3 namespace MediaWiki\User\Registration;
4
5 use MediaWiki\User\UserIdentity;
6
7 /**
8 * @since 1.41
9 * @stable to implement
10 */
11 interface IUserRegistrationProvider {
12
13 /**
14 * Get user registration timestamp
15 *
16 * @param UserIdentity $user
17 * @return string|false|null Registration timestamp, null if not available or false if it
18 * cannot be fetched (anonymous users, for example).
19 */
20 public function fetchRegistration( UserIdentity $user );
21 }