MediaWiki master
MediaWiki\Block\BlockTargetWithUserIdentity Interface Reference

Interface for block targets which can be converted to a UserIdentity. More...

Inherited by MediaWiki\Block\BlockTargetWithUserPage.

Public Member Functions

 getUserIdentity ()
 Get a UserIdentity associated with this target.
 

Detailed Description

Interface for block targets which can be converted to a UserIdentity.

Since
1.44

Definition at line 12 of file BlockTargetWithUserIdentity.php.

Member Function Documentation

◆ getUserIdentity()

MediaWiki\Block\BlockTargetWithUserIdentity::getUserIdentity ( )

Get a UserIdentity associated with this target.

Returns
UserIdentity

Implemented in MediaWiki\Block\AnonIpBlockTarget, and MediaWiki\Block\UserBlockTarget.


The documentation for this interface was generated from the following file: