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
7: */
8:
9:
10:
11: /**
12: * Object that has a modifiable and a read-only (frozen) state.
13: *
14: * @author David Grudl
15: * @package Nette
16: */
17: interface IFreezable
18: {
19:
20: /**
21: * Makes the object unmodifiable.
22: * @return void
23: */
24: function freeze();
25:
26: /**
27: * Is the object unmodifiable?
28: * @return bool
29: */
30: function isFrozen();
31:
32: }
33: