__construct()
__get()
__set()
getRef()
isLocked()
lock()
touch()
unlock()
$id
$memManager
$state
$value
LOADED
LOCKED
SWAPPED
Memory value container
Movable (may be swapped with specified backend and unloaded).
__construct(\Zend\Memory\MemoryManager $memoryManager, int $id, string $value)
__get(string $property) : string
Loads object if necessary and moves it to the top of loaded objects list. Swaps objects from the bottom of loaded objects list, if necessary.
string
\Zend\Memory\Exception\InvalidArgumentException |
---|
string
__set(string $property, string $value)
string
string
\Zend\Memory\Exception\InvalidArgumentException |
---|
getRef() : \Zend\Memory\Container\string
Must be used for value access before PHP v 5.2 or may be used for performance considerations
\Zend\Memory\Container\string
isLocked() : bool
bool
lock()
touch()
Should be used together with getRef()
unlock()
$id : int
$state : int
LOADED
LOCKED
SWAPPED