Add equals() to UserIdentity
[lhc/web/wiklou.git] / includes / user / UserIdentity.php
index d02a678..ac9bbec 100644 (file)
@@ -54,4 +54,12 @@ interface UserIdentity {
 
        // TODO: we may want to (optionally?) provide a global ID, see CentralIdLookup.
 
+       /**
+        * @since 1.32
+        *
+        * @param UserIdentity $user
+        * @return bool
+        */
+       public function equals( UserIdentity $user );
+
 }