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 resource, an object to which access is controlled.
13: */
14: interface IResource
15: {
16:
17: /**
18: * Returns a string identifier of the Resource.
19: * @return string
20: */
21: function getResourceId();
22:
23: }
24: