2018-09-13 14:39:03 +02:00
|
|
|
<?php
|
|
|
|
namespace App\Entity;
|
|
|
|
|
2018-09-13 15:55:48 +02:00
|
|
|
use Doctrine\Common\Collections\ArrayCollection;
|
|
|
|
use App\Entity\Attribut\TypeAttributInterface;
|
2018-09-13 16:37:33 +02:00
|
|
|
use App\Entity\Attribut\LawAttributInterface;
|
2018-09-13 15:55:48 +02:00
|
|
|
|
2018-09-13 14:39:03 +02:00
|
|
|
/**
|
|
|
|
*
|
|
|
|
* @author kevinfrantz
|
|
|
|
*
|
|
|
|
*/
|
2018-09-13 16:37:33 +02:00
|
|
|
interface RightInterface extends TypeAttributInterface, LawAttributInterface
|
2018-09-13 14:39:03 +02:00
|
|
|
{
|
2018-09-13 15:55:48 +02:00
|
|
|
|
|
|
|
public function isGranted(NodeInterface $node): bool;
|
|
|
|
|
|
|
|
public function setPermissions(ArrayCollection $permissions):void;
|
|
|
|
}
|