Class FreezableObject (namespace Nette)
Defines an object that has a modifiable state and a read-only (frozen) state.
Object | --FreezableObject
Direct Known Sub-classes:
Public Method Summary | |
---|---|
void |
freeze
()
Makes the object unmodifiable.
|
bool |
isFrozen
()
Is the object unmodifiable?
|
void |
__clone
()
Creates a modifiable clone of the object.
|
Protected Method Summary | |
---|---|
protected void |
updating
()
|
Methods Inherited From Object |
---|
extensionMethod(), getClass(), getReflection(), __call(), __callStatic(), __get(), __isset(), __set(), __unset() |
Method Details | ||||||
---|---|---|---|---|---|---|
line 34 freezepublic void freeze () Makes the object unmodifiable.
|
||||||
line 45 isFrozenpublic bool isFrozen () Is the object unmodifiable?
|
||||||
line 66 updatingprotected void updating ()
|
||||||
line 56 __clonepublic void __clone () Creates a modifiable clone of the object.
|