X-Git-Url: http://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fuser%2FUserIdentity.php;h=d02a67888c41f9dca68cb28d9536c42dee40396f;hb=91e63a1332fb589f8f3cc47b4466f24943aa8bd4;hp=57a0408d7cad4fdce7402f6d7e6d6e4098c929fd;hpb=694120c80e553d7c75f63de0201b3c1de2111cdd;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/user/UserIdentity.php b/includes/user/UserIdentity.php index 57a0408d7c..d02a67888c 100644 --- a/includes/user/UserIdentity.php +++ b/includes/user/UserIdentity.php @@ -45,7 +45,13 @@ interface UserIdentity { */ public function getName(); - // TODO: in the future, we should also provide access to the actor ID here. + /** + * @since 1.31 + * + * @return int The user's actor ID. May be 0 if no actor ID is set. + */ + public function getActorId(); + // TODO: we may want to (optionally?) provide a global ID, see CentralIdLookup. }