mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-15 14:46:04 +02:00
Implemented Permission draft
This commit is contained in:
@@ -1,26 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace App\Entity\Attribut;
|
||||
|
||||
use Doctrine\Common\Collections\ArrayCollection;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author kevinfrantz
|
||||
*
|
||||
*/
|
||||
trait RightsAttribute {
|
||||
|
||||
trait RightsAttribute
|
||||
{
|
||||
/**
|
||||
* @var ArrayCollection
|
||||
*/
|
||||
protected $rights;
|
||||
|
||||
public function setRights(ArrayCollection $rights):void{
|
||||
|
||||
public function setRights(ArrayCollection $rights): void
|
||||
{
|
||||
$this->rights = $rights;
|
||||
}
|
||||
|
||||
public function getRights():ArrayCollection{
|
||||
|
||||
public function getRights(): ArrayCollection
|
||||
{
|
||||
return $this->rights;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user