mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-01-11 06:47:31 +01:00
27 lines
423 B
PHP
27 lines
423 B
PHP
<?php
|
|
namespace Entity\Attribut;
|
|
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
|
|
/**
|
|
*
|
|
* @author kevinfrantz
|
|
*
|
|
*/
|
|
trait RightsAttribute {
|
|
|
|
/**
|
|
* @var ArrayCollection
|
|
*/
|
|
protected $rights;
|
|
|
|
public function setRights(ArrayCollection $rights):void{
|
|
$this->rights = $rights;
|
|
}
|
|
|
|
public function getRights():ArrayCollection{
|
|
return $this->rights;
|
|
}
|
|
}
|
|
|