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