Renamed domain RightManagement to Right

This commit is contained in:
Kevin Frantz
2019-05-30 16:55:08 +02:00
parent b8029bb7cc
commit e9110622db
16 changed files with 24 additions and 24 deletions

View File

@@ -0,0 +1,22 @@
<?php
namespace Infinito\Domain\Right;
use Infinito\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;
}