In between commit implementing EntityDomServiceTest

This commit is contained in:
Kevin Frantz
2019-02-25 14:34:55 +01:00
parent 608b00794b
commit 0b50b1df9a
7 changed files with 107 additions and 1 deletions

View File

@@ -4,6 +4,8 @@ namespace Infinito\Attribut;
/**
* @author kevinfrantz
*
* @see VersionAttributInterface
*/
trait VersionAttribut
{
@@ -12,11 +14,17 @@ trait VersionAttribut
*/
protected $version;
/**
* @param int $version
*/
public function setVersion(int $version): void
{
$this->version = $version;
}
/**
* @return int
*/
public function getVersion(): int
{
return $this->version;