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