Optimized law draft

This commit is contained in:
Kevin Frantz
2018-09-13 15:55:48 +02:00
parent 5f011f632b
commit b9f483bf7f
13 changed files with 206 additions and 12 deletions

View File

@@ -0,0 +1,26 @@
<?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;
}
}