__construct()
__destruct()
__get()
__set()
getRef()
isLocked()
lock()
touch()
unlock()
$memContainer
Memory object container access controller.
Memory manager stores a list of generated objects to control them. So container objects always have at least one reference and can't be automatically destroyed.
This class is intended to be an userland proxy to memory container object. It's not referenced by memory manager and class destructor is invoked immediately after going out of scope or unset operation.
Class also provides Zend\Memory\Container interface and works as proxy for such cases.
__construct(\Zend\Memory\Container\Movable $memContainer)
\Zend\Memory\Container\Movable
__destruct()
__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
string
__set(string $property, string $value)
string
string
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()