Zend Framework  3.0
Public Member Functions | List of all members
ContainerInterface Interface Reference

Memory value container interface. More...

Public Member Functions

getRef ()
 Get string value reference.
 
 touch ()
 Signal, that value is updated by external code.
 
 lock ()
 Lock object in memory.
 
 unlock ()
 Unlock object.
 
 isLocked ()
 Return true if object is locked.
 

Detailed Description

Memory value container interface.

Member Function Documentation

& getRef ( )

Get string value reference.

_Must_ be used for value access before PHP v 5.2 or _may_ be used for performance considerations

Returns
&string

Implemented in Movable, Locked, and AccessController.

isLocked ( )

Return true if object is locked.

Returns
bool

Implemented in Movable, AccessController, and Locked.

lock ( )

Lock object in memory.

Implemented in AccessController, Movable, and Locked.

touch ( )

Signal, that value is updated by external code.

Should be used together with getRef()

Implemented in Movable, Locked, and AccessController.

unlock ( )

Unlock object.

Implemented in Movable, AccessController, and Locked.