repo/rest-api/src/Domain/Services/PropertyCreator.php
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi\Domain\Services;
use Wikibase\DataModel\Entity\Property;
use Wikibase\Repo\RestApi\Domain\Model\EditMetadata;
use Wikibase\Repo\RestApi\Domain\ReadModel\PropertyRevision;
/**
* @license GPL-2.0-or-later
*/
interface PropertyCreator {
public function create( Property $property, EditMetadata $editMetadata ): PropertyRevision;
}