MediaWiki REL1_37
|
Factory class for BlockPermissionChecker. More...
Public Member Functions | |
__construct (ServiceOptions $options, BlockUtils $blockUtils) | |
newBlockPermissionChecker ( $target, Authority $performer) | |
Public Attributes | |
const | CONSTRUCTOR_OPTIONS = BlockPermissionChecker::CONSTRUCTOR_OPTIONS |
Private Attributes | |
BlockUtils | $blockUtils |
ServiceOptions | $options |
Factory class for BlockPermissionChecker.
Definition at line 33 of file BlockPermissionCheckerFactory.php.
MediaWiki\Block\BlockPermissionCheckerFactory::__construct | ( | ServiceOptions | $options, |
BlockUtils | $blockUtils | ||
) |
ServiceOptions | $options | |
BlockUtils | $blockUtils |
Definition at line 50 of file BlockPermissionCheckerFactory.php.
References MediaWiki\Block\BlockPermissionCheckerFactory\$blockUtils, MediaWiki\Block\BlockPermissionCheckerFactory\$options, and MediaWiki\Config\ServiceOptions\assertRequiredOptions().
MediaWiki\Block\BlockPermissionCheckerFactory::newBlockPermissionChecker | ( | $target, | |
Authority | $performer | ||
) |
UserIdentity | string | null | $target | Target of the validated block; may be null if unknown |
Authority | $performer | Performer of the validated block |
Definition at line 65 of file BlockPermissionCheckerFactory.php.
Referenced by MediaWiki\Block\UnblockUser\__construct(), and MediaWiki\Block\BlockUser\__construct().
|
private |
Definition at line 44 of file BlockPermissionCheckerFactory.php.
Referenced by MediaWiki\Block\BlockPermissionCheckerFactory\__construct().
|
private |
Definition at line 36 of file BlockPermissionCheckerFactory.php.
Referenced by MediaWiki\Block\BlockPermissionCheckerFactory\__construct().
const MediaWiki\Block\BlockPermissionCheckerFactory::CONSTRUCTOR_OPTIONS = BlockPermissionChecker::CONSTRUCTOR_OPTIONS |
Definition at line 41 of file BlockPermissionCheckerFactory.php.