2019-01-19 22:52:49 +01:00

23 lines
476 B
PHP

<?php
namespace App\Domain\RightManagement;
use App\Entity\Source\SourceInterface;
/**
* Checks if the crud, layer and source combination is granted by a right.
*
* @author kevinfrantz
*/
interface RightCheckerInterface
{
/**
* @param string $layer
* @param string $type
* @param SourceInterface $source
*
* @return bool
*/
public function isGranted(string $layer, string $type, SourceInterface $source): bool;
}