MediaWiki
REL1_39
BlockUserFactory.php
Go to the documentation of this file.
1
<?php
2
22
namespace
MediaWiki\Block
;
23
24
use
MediaWiki\Permissions\Authority
;
25
use
MediaWiki\User\UserIdentity
;
26
30
interface
BlockUserFactory
{
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
}
MediaWiki\Block\BlockUser
Handles the backend logic of blocking users.
Definition
BlockUser.php:52
MediaWiki\Block\BlockUserFactory
Definition
BlockUserFactory.php:30
MediaWiki\Block\BlockUserFactory\newBlockUser
newBlockUser( $target, Authority $performer, string $expiry, string $reason='', array $blockOptions=[], array $blockRestrictions=[], $tags=[])
Create BlockUser.
MediaWiki\Permissions\Authority
This interface represents the authority associated the current execution context, such as a web reque...
Definition
Authority.php:37
MediaWiki\User\UserIdentity
Interface for objects representing user identity.
Definition
UserIdentity.php:39
MediaWiki\Block
Definition
AbstractBlock.php:21
includes
block
BlockUserFactory.php
Generated on Fri Dec 20 2024 15:33:55 for MediaWiki by
1.10.0