MediaWiki REL1_39
|
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 |
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\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().
const MediaWiki\Block\BlockPermissionCheckerFactory::CONSTRUCTOR_OPTIONS = BlockPermissionChecker::CONSTRUCTOR_OPTIONS |
Definition at line 41 of file BlockPermissionCheckerFactory.php.