Wikibase
MediaWiki Wikibase extension
Wikibase\Repo\Hooks\OutputPageEntityIdReader Class Reference

Allows retrieving an EntityId based on a previously propagated OutputPage. More...

Public Member Functions

 __construct (OutputPageEntityViewChecker $entityViewChecker, EntityIdParser $entityIdParser)
 
 getEntityIdFromOutputPage (OutputPage $out)
 

Private Attributes

 $entityViewChecker
 
 $entityIdParser
 

Detailed Description

Allows retrieving an EntityId based on a previously propagated OutputPage.

Author
Marius Hoch < hoo@o.nosp@m.nlin.nosp@m.e.de >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\Repo\Hooks\OutputPageEntityIdReader::__construct ( OutputPageEntityViewChecker  $entityViewChecker,
EntityIdParser  $entityIdParser 
)

Member Function Documentation

◆ getEntityIdFromOutputPage()

Wikibase\Repo\Hooks\OutputPageEntityIdReader::getEntityIdFromOutputPage ( OutputPage  $out)
Parameters
OutputPage$out
Returns
EntityId|null

Member Data Documentation

◆ $entityIdParser

Wikibase\Repo\Hooks\OutputPageEntityIdReader::$entityIdParser
private

◆ $entityViewChecker

Wikibase\Repo\Hooks\OutputPageEntityIdReader::$entityViewChecker
private

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