MediaWiki master
UnblockUserFactory.php
Go to the documentation of this file.
1<?php
2
22namespace MediaWiki\Block;
23
26
39 public function newUnblockUser(
40 $target,
41 Authority $performer,
42 string $reason,
43 array $tags = []
44 ): UnblockUser;
45
58 public function newRemoveBlock(
59 DatabaseBlock $block,
60 Authority $performer,
61 string $reason,
62 array $tags = []
63 ): UnblockUser;
64}
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:37
Interface for objects representing user identity.