MediaWiki REL1_35
MediaWiki\Block\BlockPermissionCheckerFactory Class Reference

Factory class for BlockPermissionChecker. More...

Collaboration diagram for MediaWiki\Block\BlockPermissionCheckerFactory:

Public Member Functions

 __construct (PermissionManager $permissionManager)
 
 newBlockPermissionChecker ( $target, User $performer)
 

Private Attributes

PermissionManager $permissionManager
 

Detailed Description

Factory class for BlockPermissionChecker.

Since
1.35

Definition at line 32 of file BlockPermissionCheckerFactory.php.

Constructor & Destructor Documentation

◆ __construct()

MediaWiki\Block\BlockPermissionCheckerFactory::__construct ( PermissionManager  $permissionManager)
Parameters
PermissionManager$permissionManager

Definition at line 42 of file BlockPermissionCheckerFactory.php.

References MediaWiki\Block\BlockPermissionCheckerFactory\$permissionManager.

Member Function Documentation

◆ newBlockPermissionChecker()

MediaWiki\Block\BlockPermissionCheckerFactory::newBlockPermissionChecker (   $target,
User  $performer 
)
Parameters
User | string | int$targetTarget of the validated block
User$performerPerformer of the validated block
Returns
BlockPermissionChecker

Definition at line 52 of file BlockPermissionCheckerFactory.php.

Member Data Documentation

◆ $permissionManager

PermissionManager MediaWiki\Block\BlockPermissionCheckerFactory::$permissionManager
private

The documentation for this class was generated from the following file: