infinito/application/src/Entity/Attribut/RightAttribut.php

27 lines
387 B
PHP
Raw Normal View History

2018-09-13 22:35:32 +02:00
<?php
2018-09-13 22:43:19 +02:00
namespace App\Entity\Attribut;
2018-09-13 22:35:32 +02:00
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->getRight();
}
}