MediaWiki  master
UserIdentity.php
Go to the documentation of this file.
1 <?php
23 namespace MediaWiki\User;
24 
26 
39 interface UserIdentity extends WikiAwareEntity {
40 
48  public function getId( $wikiId = self::LOCAL ): int;
49 
55  public function getName(): string;
56 
63  public function equals( ?UserIdentity $user ): bool;
64 
72  public function isRegistered(): bool;
73 }
MediaWiki\User\UserIdentity\getId
getId( $wikiId=self::LOCAL)
MediaWiki\DAO\WikiAwareEntity
Marker interface for entities aware of the wiki they belong to.
Definition: WikiAwareEntity.php:34
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition: UserIdentity.php:39
MediaWiki\User\UserIdentity\isRegistered
isRegistered()
MediaWiki\User\UserIdentity\getName
getName()
MediaWiki\User
Definition: ActorCache.php:21
MediaWiki\User\UserIdentity\equals
equals(?UserIdentity $user)