Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory Class Reference
+ Collaboration diagram for Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory:

Public Member Functions

 __construct (EntityRevisionLookup $revisionLookup, EntityIdParser $entityIdParser, ConditionalHeaderUtil $conditionalHeaderUtil)
 
 newPreconditionMiddleware (callable $getEntityIdFromRequest)
 

Private Attributes

EntityRevisionLookup $revisionLookup
 
EntityIdParser $entityIdParser
 
ConditionalHeaderUtil $conditionalHeaderUtil
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory::__construct ( EntityRevisionLookup $revisionLookup,
EntityIdParser $entityIdParser,
ConditionalHeaderUtil $conditionalHeaderUtil )

Member Function Documentation

◆ newPreconditionMiddleware()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory::newPreconditionMiddleware ( callable $getEntityIdFromRequest)

Member Data Documentation

◆ $conditionalHeaderUtil

ConditionalHeaderUtil Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory::$conditionalHeaderUtil
private

◆ $entityIdParser

EntityIdParser Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory::$entityIdParser
private

◆ $revisionLookup

EntityRevisionLookup Wikibase\Repo\RestApi\RouteHandlers\Middleware\PreconditionMiddlewareFactory::$revisionLookup
private

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