Wikibase
MediaWiki Wikibase extension
|
Wrapper for EntityIdFormatter that handles federated property API exceptions. More...
Public Member Functions | |
__construct (EntityIdFormatter $innerFormatter) | |
formatEntityId (EntityId $entityId) | |
Private Attributes | |
$innerFormatter | |
Wrapper for EntityIdFormatter that handles federated property API exceptions.
Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityIdFormatter::__construct | ( | EntityIdFormatter | $innerFormatter | ) |
Wikibase\Repo\FederatedProperties\FederatedPropertiesEntityIdFormatter::formatEntityId | ( | EntityId | $value | ) |
EntityId | $value |
InvalidArgumentException when value falls out of supported patterns by the formatter
Implements Wikibase\DataModel\Services\EntityId\EntityIdFormatter.
|
private |