Cache/Backend/ZendServer/ShMem.php
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_Cache
- Subpackage
- Zend_Cache_Backend
- Version
- $Id$
\Zend_Cache_Backend_ZendServer_ShMem
Package: Zend_Cache\Zend_Cache_Backend
- Implements
- Parent(s)
- \Zend_Cache_Backend_ZendServer < \Zend_Cache_Backend
- Copyright
- Copyright (c) 2005-2014 Zend Technologies USA Inc. (http://www.zend.com)
- License
- New BSD License
Methods
__construct(array $options = array()) : void
Constructor
Parameters
Throws
Name | Type | Description |
---|---|---|
$options | array | associative array of options |
Exception | Description |
---|---|
\Zend_Cache_Exception |
_store(mixed $data, string $id, int $timeToLive) : void
Store data
Parameters
Name | Type | Description |
---|---|---|
$data | mixed | Object to store |
$id | string | Cache id |
$timeToLive | int | Time to live in seconds |