mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
26 lines
351 B
PHP
26 lines
351 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;
|
||
|
}
|
||
|
}
|
||
|
|