Memory/Container/Locked.php

Show: PublicProtectedPrivateinherited
Table of Contents
Zend Framework
LICENSE This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to license@zend.com so we can send you a copy immediately.
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  
Package
Zend_Memory  
Version
$Id$  

\Zend_Memory_Container_Locked

Package: Zend_Memory
Memory value container
Locked (always stored in memory).
Parent(s)
\Zend_Memory_Container
Category
Zend  
Copyright
Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)  
License
New BSD License  

Properties

>VPropertypublicstring $value
Value object
Details
Type
string

Methods

methodpublic__construct(string $value) : void

Object constructor

Parameters
NameTypeDescription
$valuestring
methodpublicdestroy() : void

Destroy memory container and remove it from memory manager list

methodpublicgetRef() : \&string

Get string value reference

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations
Returns
TypeDescription
\&string
methodpublicisLocked() : boolean

Return true if object is locked

Returns
TypeDescription
boolean
methodpubliclock() : void

Lock object in memory.

methodpublictouch() : void

Signal, that value is updated by external code.

Should be used together with getRef()
methodpublicunlock() : void

Unlock object

Documentation was generated by phpDocumentor 2.2.0 .