Added hint

This commit is contained in:
Kevin Frantz 2018-10-28 14:29:19 +01:00
parent a95ff0497e
commit 5af5a6b5e2

View File

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