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: * @package Nette\Security
7: */
8:
9:
10:
11: /**
12: * Represents role, an object that may request access to an IResource.
13: *
14: * @author David Grudl
15: * @package Nette\Security
16: */
17: interface IRole
18: {
19:
20: /**
21: * Returns a string identifier of the Role.
22: * @return string
23: */
24: function getRoleId();
25:
26: }
27: