MediaWiki REL1_39
|
Public Member Functions | |
newBlockUser ( $target, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[]) | |
Create BlockUser. | |
Definition at line 30 of file BlockUserFactory.php.
MediaWiki\Block\BlockUserFactory::newBlockUser | ( | $target, | |
Authority | $performer, | ||
string | $expiry, | ||
string | $reason = '', | ||
array | $blockOptions = [], | ||
array | $blockRestrictions = [], | ||
$tags = [] ) |
Create BlockUser.
string | UserIdentity | $target | Target of the block |
Authority | $performer | Performer of the block |
string | $expiry | Expiry of the block (timestamp or 'infinity') |
string | $reason | Reason of the block |
array | $blockOptions | |
array | $blockRestrictions | |
array | null | $tags | Tags that should be assigned to the log entry |
Implemented in MediaWiki\Block\UserBlockCommandFactory.