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; }