Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\Infrastructure\DataAccess\WikibaseEntityPermissionChecker Class Reference
+ Inheritance diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\WikibaseEntityPermissionChecker:
+ Collaboration diagram for Wikibase\Repo\RestApi\Infrastructure\DataAccess\WikibaseEntityPermissionChecker:

Public Member Functions

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

Private Attributes

EntityPermissionChecker $entityPermissionChecker
 
UserFactory $userFactory
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

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

Member Function Documentation

◆ canEdit()

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

Member Data Documentation

◆ $entityPermissionChecker

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

◆ $userFactory

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

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