MediaWiki REL1_39
BlockUserFactory.php
Go to the documentation of this file.
1<?php
2
22namespace MediaWiki\Block;
23
26
44 public function newBlockUser(
45 $target,
46 Authority $performer,
47 string $expiry,
48 string $reason = '',
49 array $blockOptions = [],
50 array $blockRestrictions = [],
51 $tags = []
52 ): BlockUser;
53}
Handles the backend logic of blocking users.
Definition BlockUser.php:52
newBlockUser( $target, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[])
Create BlockUser.
This interface represents the authority associated the current execution context, such as a web reque...
Definition Authority.php:37
Interface for objects representing user identity.