Wikibase
MediaWiki Wikibase extension
Loading...
Searching...
No Matches
Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup Class Reference

PropertyLookup implementation providing a migration path away from the EntityLookup interface. More...

+ Inheritance diagram for Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup:
+ Collaboration diagram for Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup:

Public Member Functions

 __construct (EntityLookup $lookup)
 
 getPropertyForId (PropertyId $propertyId)
 

Private Attributes

 $lookup
 

Detailed Description

PropertyLookup implementation providing a migration path away from the EntityLookup interface.

Author
Jeroen De Dauw < jeroe.nosp@m.nded.nosp@m.auw@g.nosp@m.mail.nosp@m..com >

Constructor & Destructor Documentation

◆ __construct()

Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup::__construct ( EntityLookup $lookup)

Member Function Documentation

◆ getPropertyForId()

Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup::getPropertyForId ( PropertyId $propertyId)
Parameters
PropertyId$propertyId
Returns
Property|null
Exceptions
PropertyLookupException

Implements Wikibase\DataModel\Services\Lookup\PropertyLookup.

Member Data Documentation

◆ $lookup

Wikibase\DataModel\Services\Lookup\LegacyAdapterPropertyLookup::$lookup
private

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