MediaWiki fundraising/REL1_35
BlockPermissionCheckerFactory.php
Go to the documentation of this file.
1<?php
2
22namespace MediaWiki\Block;
23
25use User;
26
33
38
43 $this->permissionManager = $permissionManager;
44 }
45
53 $target,
54 User $performer
55 ) {
56 return new BlockPermissionChecker(
57 $this->permissionManager,
58 $target,
59 $performer
60 );
61 }
62}
A service class for checking permissions To obtain an instance, use MediaWikiServices::getInstance()-...
The User object encapsulates all of the user-specific settings (user_id, name, rights,...
Definition User.php:60