repo/rest-api/src/Domain/Services/ItemLabelWithFallbackRetriever.php
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi\Domain\Services;
use Wikibase\DataModel\Entity\ItemId;
use Wikibase\Repo\RestApi\Domain\ReadModel\Label;
/**
* @license GPL-2.0-or-later
*/
interface ItemLabelWithFallbackRetriever {
public function getLabel( ItemId $itemId, string $languageCode ): ?Label;
}