From 5af5a6b5e2605f80fec39a6a19c625d8026a6a56 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Sun, 28 Oct 2018 14:29:19 +0100 Subject: [PATCH] Added hint --- application/src/Entity/Method/RelationGrantedInterface.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/application/src/Entity/Method/RelationGrantedInterface.php b/application/src/Entity/Method/RelationGrantedInterface.php index 67db7e2..a9d08aa 100644 --- a/application/src/Entity/Method/RelationGrantedInterface.php +++ b/application/src/Entity/Method/RelationGrantedInterface.php @@ -9,5 +9,12 @@ use App\Entity\RelationInterface; */ 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; }