mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-10 22:37:28 +01:00
27 lines
392 B
PHP
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;
|
|
}
|
|
}
|