1: <?php
2:
3: /**
4: * This file is part of the Nette Framework (https://nette.org)
5: * Copyright (c) 2004 David Grudl (https://davidgrudl.com)
6: */
7:
8: namespace Nette\Security;
9:
10:
11: /**
12: * Represents role, an object that may request access to an IResource.
13: */
14: interface IRole
15: {
16:
17: /**
18: * Returns a string identifier of the Role.
19: * @return string
20: */
21: function getRoleId();
22:
23: }
24: