Zend\Memory\Container\Locked
Memory value container
Locked (always stored in memory).
Synopsis
class Locked
extends AbstractContainer
{
- // members
- public string $value;
- // methods
- public void __construct()
- public void lock()
- public void unlock()
- public bool isLocked()
- public &string getRef()
- public void touch()
- public void destroy()
Hierarchy
Members
public
- $value
—
string
Value object
Methods
public
- __construct() — Object constructor
- destroy() — Destroy memory container and remove it from memory manager list
- getRef() — Get string value reference
- isLocked() — Return true if object is locked
- lock() — Lock object in memory.
- touch() — Signal, that value is updated by external code.
- unlock() — Unlock object