mirror of
https://github.com/kevinveenbirkenbach/infinito.git
synced 2025-09-17 23:56:03 +02:00
Added hint
This commit is contained in:
@@ -9,5 +9,12 @@ use App\Entity\RelationInterface;
|
|||||||
*/
|
*/
|
||||||
interface RelationGrantedInterface
|
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;
|
public function isGranted(RelationInterface $relation, string $layer, string $right): bool;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user