value = $value; } /** * Lock object in memory. */ public function lock() { /* Do nothing */ } /** * Unlock object */ public function unlock() { /* Do nothing */ } /** * Return true if object is locked * * @return bool */ public function isLocked() { return true; } /** * Get string value reference * * _Must_ be used for value access before PHP v 5.2 * or _may_ be used for performance considerations * * @return &string */ public function &getRef() { return $this->value; } /** * Signal, that value is updated by external code. * * Should be used together with getRef() */ public function touch() { /* Do nothing */ } /** * Destroy memory container and remove it from memory manager list */ public function destroy() { /* Do nothing */ } }