mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
25 lines
333 B
PHP
25 lines
333 B
PHP
<?php
|
|
|
|
namespace App\Entity\Attribut;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
trait VersionAttribut
|
|
{
|
|
/**
|
|
* @var int
|
|
*/
|
|
protected $version;
|
|
|
|
public function setVersion(int $version): void
|
|
{
|
|
$this->version = $version;
|
|
}
|
|
|
|
public function getVersion(): int
|
|
{
|
|
return $this->version;
|
|
}
|
|
}
|