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

Public Member Functions

 __construct (EntityIdParser $entityIdParser, StatementSubjectRetriever $statementSubjectRetriever)
 
 newStatementRedirectMiddleware (string $statementIdPathParameter, ?string $subjectIdPathParameter=null)
 

Private Attributes

StatementSubjectRetriever $statementSubjectRetriever
 
EntityIdParser $entityIdParser
 

Detailed Description

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\StatementRedirectMiddlewareFactory::__construct ( EntityIdParser $entityIdParser,
StatementSubjectRetriever $statementSubjectRetriever )

Member Function Documentation

◆ newStatementRedirectMiddleware()

Wikibase\Repo\RestApi\RouteHandlers\Middleware\StatementRedirectMiddlewareFactory::newStatementRedirectMiddleware ( string $statementIdPathParameter,
?string $subjectIdPathParameter = null )

Member Data Documentation

◆ $entityIdParser

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

◆ $statementSubjectRetriever

StatementSubjectRetriever Wikibase\Repo\RestApi\RouteHandlers\Middleware\StatementRedirectMiddlewareFactory::$statementSubjectRetriever
private

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