lib/includes/Store/PropertyInfoProvider.php
<?php
namespace Wikibase\Lib\Store;
use Wikibase\DataModel\Entity\PropertyId;
/**
* Service for providing a specific information about properties.
*
* Which information is provided is determined by the concrete implementation and instance.
* Consumers of this interface should provide documentation that clearly states what information
* the PropertyInfoProvider instance is expected to return, and in what form.
*
* @license GPL-2.0-or-later
* @author Daniel Kinzler
*/
interface PropertyInfoProvider {
/**
* Returns some information associated with a property ID.
*
* @param PropertyId $propertyId
*
* @return mixed|null
*
* @throws StorageException
*/
public function getPropertyInfo( PropertyId $propertyId );
}