|
Wikibase
MediaWiki Wikibase extension
|
EntityLookup that checks entities have been loaded through it and throws an exception if the accessing to that entity type is disabled. More...
Inheritance diagram for Wikibase\DataModel\Services\Lookup\DisabledEntityTypesEntityLookup:
Collaboration diagram for Wikibase\DataModel\Services\Lookup\DisabledEntityTypesEntityLookup:Public Member Functions | |
| __construct (EntityLookup $entityLookup, array $disabledEntityTypes) | |
| getEntity (EntityId $entityId) | |
| hasEntity (EntityId $entityId) | |
Private Attributes | |
| $entityLookup | |
| $disabledEntityTypes = [] | |
EntityLookup that checks entities have been loaded through it and throws an exception if the accessing to that entity type is disabled.
| Wikibase\DataModel\Services\Lookup\DisabledEntityTypesEntityLookup::__construct | ( | EntityLookup | $entityLookup, |
| array | $disabledEntityTypes ) |
| EntityLookup | $entityLookup | |
| string[] | $disabledEntityTypes |
| Wikibase\DataModel\Services\Lookup\DisabledEntityTypesEntityLookup::getEntity | ( | EntityId | $entityId | ) |
| EntityId | $entityId |
| EntityLookupException |
Implements Wikibase\DataModel\Services\Lookup\EntityLookup.
| Wikibase\DataModel\Services\Lookup\DisabledEntityTypesEntityLookup::hasEntity | ( | EntityId | $entityId | ) |
| EntityId | $entityId |
| EntityLookupException |
Implements Wikibase\DataModel\Services\Lookup\EntityLookup.
|
private |
|
private |