Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker:
+ Collaboration diagram for Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker:

Public Member Functions

 __construct (EntityPermissionChecker $entityPermissionChecker, UserFactory $userFactory)
 
 canEdit (User $user, ItemId $id)
 

Private Attributes

 $entityPermissionChecker
 
 $userFactory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker::__construct ( EntityPermissionChecker  $entityPermissionChecker,
UserFactory  $userFactory 
)

Member Function Documentation

◆ canEdit()

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker::canEdit ( User  $user,
ItemId  $id 
)

Member Data Documentation

◆ $entityPermissionChecker

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker::$entityPermissionChecker
private

◆ $userFactory

Wikibase\Repo\RestApi\DataAccess\WikibaseEntityPermissionChecker::$userFactory
private

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