infinito/application/src/Entity/RightInterface.php

18 lines
368 B
PHP
Raw Normal View History

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 14:39:03 +02:00
/**
*
* @author kevinfrantz
*
*/
2018-09-13 15:55:48 +02:00
interface RightInterface extends TypeAttributInterface
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;
}