mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-03-14 10:55:17 +01:00
23 lines
478 B
PHP
23 lines
478 B
PHP
<?php
|
|
|
|
namespace App\Entity\Method;
|
|
|
|
use App\Entity\Meta\RelationInterface;
|
|
|
|
/**
|
|
* @author kevinfrantz
|
|
*/
|
|
interface RelationGrantedInterface
|
|
{
|
|
/**
|
|
* @deprecated Methods shouldn't be used on the entity level
|
|
*
|
|
* @param RelationInterface $relation
|
|
* @param string $layer
|
|
* @param string $right
|
|
*
|
|
* @return bool
|
|
*/
|
|
public function isGranted(RelationInterface $relation, string $layer, string $right): bool;
|
|
}
|