repo/rest-api/src/Application/UseCases/AddItemStatement/AddItemStatementResponse.php
<?php declare( strict_types=1 );
namespace Wikibase\Repo\RestApi\Application\UseCases\AddItemStatement;
use Wikibase\Repo\RestApi\Domain\ReadModel\Statement;
/**
* @license GPL-2.0-or-later
*/
class AddItemStatementResponse {
private Statement $statement;
private string $lastModified;
private int $revisionId;
public function __construct( Statement $statement, string $lastModified, int $revisionId ) {
$this->statement = $statement;
$this->lastModified = $lastModified;
$this->revisionId = $revisionId;
}
public function getStatement(): Statement {
return $this->statement;
}
public function getLastModified(): string {
return $this->lastModified;
}
public function getRevisionId(): int {
return $this->revisionId;
}
}