|
Magento 2 Documentation
2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
|
Public Member Functions | |
| isEmpty () | |
| read () | |
| write ($contents) | |
| clear () | |
Definition at line 29 of file Storage.php.
| clear | ( | ) |
Clears contents from storage
| Zend_Http_UserAgent_Storage_Exception | If clearing contents from storage is impossible |
Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.
| isEmpty | ( | ) |
Returns true if and only if storage is empty
| Zend_Http_UserAgent_Storage_Exception | If it is impossible to determine whether storage is empty |
Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.
| read | ( | ) |
Returns the contents of storage associated to the key parameter
Behavior is undefined when storage is empty.
| Zend_Http_UserAgent_Storage_Exception | If reading contents from storage is impossible |
Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.
| write | ( | $contents | ) |
Writes $contents associated to the key parameter to storage
| mixed | $contents |
| Zend_Http_UserAgent_Storage_Exception | If writing $contents to storage is impossible |
Implemented in Zend_Http_UserAgent_Storage_Session, and Zend_Http_UserAgent_Storage_NonPersistent.