Class NFreezableObject
Defines an object that has a modifiable and a read-only (frozen) state.
-
NObject
-
NFreezableObject
implements
IFreezable
Methods summary
public
|
#
freeze( )
Makes the object unmodifiable.
Makes the object unmodifiable.
Implementation of
|
public
boolean
|
#
isFrozen( )
Is the object unmodifiable?
Is the object unmodifiable?
Returns
boolean
Implementation of
|
public
|
#
__clone( )
Creates a modifiable clone of the object.
Creates a modifiable clone of the object.
|
protected
|
|
Magic properties summary
public read-only
boolean
|
$frozen
|
|