Class FreezableObject
Defines an object that has a modifiable and a read-only (frozen) state.
-
Nette\Object
-
Nette\FreezableObject
implements
Nette\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
|
|