mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 14:27:28 +01:00
27 lines
380 B
PHP
27 lines
380 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
use App\Entity\Meta\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;
|
|
}
|
|
}
|