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