infinito/application/src/Entity/Attribut/RightsAttribute.php

27 lines
412 B
PHP
Raw Normal View History

2018-09-13 15:55:48 +02:00
<?php
2018-09-13 16:51:58 +02:00
2018-09-13 16:37:33 +02:00
namespace App\Entity\Attribut;
2018-09-13 15:55:48 +02:00
use Doctrine\Common\Collections\ArrayCollection;
/**
* @author kevinfrantz
*/
2018-09-13 16:51:58 +02:00
trait RightsAttribute
{
2018-09-13 15:55:48 +02:00
/**
* @var ArrayCollection
*/
protected $rights;
2018-09-13 16:51:58 +02:00
public function setRights(ArrayCollection $rights): void
{
2018-09-13 15:55:48 +02:00
$this->rights = $rights;
}
2018-09-13 16:51:58 +02:00
public function getRights(): ArrayCollection
{
2018-09-13 15:55:48 +02:00
return $this->rights;
}
}