Memory value container

Locked (always stored in memory).

 Methods

Object constructor

__construct(string $value) 

Parameters

$value

string

Destroy memory container and remove it from memory manager list

destroy() 

Get string value reference

getRef() : \Zend\Memory\Container\string

Must be used for value access before PHP v 5.2 or may be used for performance considerations

Returns

\Zend\Memory\Container\string

Return true if object is locked

isLocked() : bool

Returns

bool

Lock object in memory.

lock() 

Signal, that value is updated by external code.

touch() 

Should be used together with getRef()

Unlock object

unlock() 

 Properties

 

Value object

$value : string