|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| __construct ($value) | |
| lock () | |
| unlock () | |
| isLocked () | |
| & | getRef () |
| touch () | |
| destroy () | |
Data Fields | |
| $value | |
Definition at line 35 of file Locked.php.
| __construct | ( | $value | ) |
Object constructor
| Zend_Memory_Manager | $memoryManager | |
| integer | $id | |
| string | $value |
Definition at line 52 of file Locked.php.
| destroy | ( | ) |
Destroy memory container and remove it from memory manager list
Definition at line 109 of file Locked.php.
| & getRef | ( | ) |
Get string value reference
Must be used for value access before PHP v 5.2 or may be used for performance considerations
Implements Zend_Memory_Container_Interface.
Definition at line 91 of file Locked.php.
| isLocked | ( | ) |
Return true if object is locked
Implements Zend_Memory_Container_Interface.
Definition at line 78 of file Locked.php.
| lock | ( | ) |
Lock object in memory.
Implements Zend_Memory_Container_Interface.
Definition at line 60 of file Locked.php.
| touch | ( | ) |
Signal, that value is updated by external code.
Should be used together with getRef()
Implements Zend_Memory_Container_Interface.
Definition at line 101 of file Locked.php.
| unlock | ( | ) |
Definition at line 42 of file Locked.php.