2018-09-13 14:39:03 +02:00
|
|
|
<?php
|
2018-09-13 16:51:58 +02:00
|
|
|
|
2018-09-13 14:39:03 +02:00
|
|
|
namespace App\Entity;
|
|
|
|
|
2018-09-13 15:55:48 +02:00
|
|
|
use App\Entity\Attribut\TypeAttributInterface;
|
2018-09-13 16:37:33 +02:00
|
|
|
use App\Entity\Attribut\LawAttributInterface;
|
2018-09-13 22:35:32 +02:00
|
|
|
use App\Entity\Attribut\PermissionsAttributInterface;
|
2018-09-13 15:55:48 +02:00
|
|
|
|
2018-09-13 14:39:03 +02:00
|
|
|
/**
|
|
|
|
* @author kevinfrantz
|
|
|
|
*/
|
2018-09-13 22:35:32 +02:00
|
|
|
interface RightInterface extends TypeAttributInterface, LawAttributInterface, PermissionsAttributInterface
|
2018-09-13 14:39:03 +02:00
|
|
|
{
|
2018-09-13 15:55:48 +02:00
|
|
|
public function isGranted(NodeInterface $node): bool;
|
2018-09-13 16:51:58 +02:00
|
|
|
}
|