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

27 lines
380 B
PHP
Raw Normal View History

2018-09-13 22:35:32 +02:00
<?php
2019-01-20 10:41:58 +01:00
namespace App\Attribut;
2018-09-13 22:35:32 +02:00
2018-10-28 15:25:32 +01:00
use App\Entity\Meta\RightInterface;
2018-09-13 22:35:32 +02:00
/**
* @author kevinfrantz
*/
trait RightAttribut
{
/**
* @var RightInterface
*/
protected $right;
public function setRight(RightInterface $right): void
{
$this->right = $right;
}
public function getRight(): RightInterface
{
return $this->right;
2018-09-13 22:35:32 +02:00
}
}