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

27 lines
392 B
PHP

<?php
namespace App\Entity\Attribut;
use Doctrine\Common\Collections\Collection;
/**
* @author kevinfrantz
*/
trait RightsAttribute
{
/**
* @var Collection
*/
protected $rights;
public function setRights(Collection $rights): void
{
$this->rights = $rights;
}
public function getRights(): Collection
{
return $this->rights;
}
}