MediaWiki master
UnblockUserFactory.php
Go to the documentation of this file.
1<?php
2
8namespace MediaWiki\Block;
9
12
25 public function newUnblockUser(
26 $target,
27 Authority $performer,
28 string $reason,
29 array $tags = []
30 ): UnblockUser;
31
44 public function newRemoveBlock(
45 DatabaseBlock $block,
46 Authority $performer,
47 string $reason,
48 array $tags = []
49 ): UnblockUser;
50}
A DatabaseBlock (unlike a SystemBlock) is stored in the database, may give rise to autoblocks and may...
Backend class for unblocking users.
newRemoveBlock(DatabaseBlock $block, Authority $performer, string $reason, array $tags=[])
Creates UnblockUser to remove a specific block.
newUnblockUser( $target, Authority $performer, string $reason, array $tags=[])
This interface represents the authority associated with the current execution context,...
Definition Authority.php:23
Interface for objects representing user identity.