mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-03-13 18:35:17 +01:00
29 lines
419 B
PHP
29 lines
419 B
PHP
<?php
|
|
|
|
namespace App\Attribut;
|
|
|
|
use Doctrine\Common\Collections\Collection;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*
|
|
* @see RightsAttributInterface
|
|
*/
|
|
trait RightsAttribut
|
|
{
|
|
/**
|
|
* @var Collection
|
|
*/
|
|
protected $rights;
|
|
|
|
public function setRights(Collection $rights): void
|
|
{
|
|
$this->rights = $rights;
|
|
}
|
|
|
|
public function getRights(): Collection
|
|
{
|
|
return $this->rights;
|
|
}
|
|
}
|