mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-13 13:57:10 +02:00
Optimized law draft
This commit is contained in:
26
application/src/Entity/Attribut/RightsAttribute.php
Normal file
26
application/src/Entity/Attribut/RightsAttribute.php
Normal 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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user