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

27 lines
423 B
PHP
Raw Normal View History

2018-09-13 15:55:48 +02:00
<?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;
}
}