Optimized Law draft

This commit is contained in:
Kevin Frantz
2018-09-13 22:35:32 +02:00
parent 69f2beac72
commit ff7fb57baf
13 changed files with 160 additions and 30 deletions

View File

@@ -0,0 +1,26 @@
<?php
namespace 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->getRight();
}
}