305. Class

305.1. Zend\Memory\Container\Locked

Memory value container

Locked (always stored in memory).

305.1.1. Methods

305.1.1.1. __construct

__construct()

Object constructor

Parameters:string

305.1.1.2. lock

lock()

Lock object in memory.

305.1.1.3. unlock

unlock()

Unlock object

305.1.1.4. isLocked

isLocked()

Return true if object is locked

Return type:bool

305.1.1.5. getRef

getRef()

Get string value reference

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations

Return type:&string

305.1.1.6. touch

touch()

Signal, that value is updated by external code.

Should be used together with getRef()

305.1.1.7. destroy

destroy()

Destroy memory container and remove it from memory manager list

Project Versions

Table Of Contents

Previous topic

300. Function

Next topic

306. Class

This Page