repo/rest-api/src/Application/UseCases/GetPropertyDescriptions/GetPropertyDescriptionsRequest.php
<?php declare( strict_types = 1 );
namespace Wikibase\Repo\RestApi\Application\UseCases\GetPropertyDescriptions;
use Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\PropertyIdRequest;
use Wikibase\Repo\RestApi\Application\UseCaseRequestValidation\UseCaseRequest;
/**
* @license GPL-2.0-or-later
*/
class GetPropertyDescriptionsRequest implements UseCaseRequest, PropertyIdRequest {
private string $propertyId;
public function __construct( string $propertyId ) {
$this->propertyId = $propertyId;
}
public function getPropertyId(): string {
return $this->propertyId;
}
}