infinito/application/src/Entity/Attribut/RightAttribut.php
2018-09-14 18:26:09 +02:00

27 lines
382 B
PHP

<?php
namespace App\Entity\Attribut;
use App\Entity\RightInterface;
/**
* @author kevinfrantz
*/
trait RightAttribut
{
/**
* @var RightInterface
*/
protected $right;
public function setRight(RightInterface $right): void
{
$this->right = $right;
}
public function getRight(): RightInterface
{
return $this->right;
}
}