Open Monograph Press
3.3.0
|
Public Member Functions | |
__construct () | |
contains ($id, array $options=null) | |
delete ($id, array $options=null) | |
fetch ($id, array $options=null) | |
save ($id, $data, $lifeTime=false, array $options=null) | |
![]() | |
getCacheObject () | |
Additional Inherited Members | |
![]() | |
$cache | |
Null cache adapter
Definition at line 8 of file NullCacheAdapter.php.
Guzzle\Cache\NullCacheAdapter::__construct | ( | ) |
Definition at line 10 of file NullCacheAdapter.php.
Guzzle\Cache\NullCacheAdapter::contains | ( | $id, | |
array | $options = null |
||
) |
Test if an entry exists in the cache.
string | $id | cache id The cache id of the entry to check for. |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 12 of file NullCacheAdapter.php.
Guzzle\Cache\NullCacheAdapter::delete | ( | $id, | |
array | $options = null |
||
) |
Deletes a cache entry.
string | $id | cache id |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 17 of file NullCacheAdapter.php.
Guzzle\Cache\NullCacheAdapter::fetch | ( | $id, | |
array | $options = null |
||
) |
Fetches an entry from the cache.
string | $id | cache id The id of the cache entry to fetch. |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 22 of file NullCacheAdapter.php.
Guzzle\Cache\NullCacheAdapter::save | ( | $id, | |
$data, | |||
$lifeTime = false , |
|||
array | $options = null |
||
) |
Puts data into the cache.
string | $id | The cache id |
string | $data | The cache entry/data |
int | bool | $lifeTime | The lifetime. If != false, sets a specific lifetime for this cache entry |
array | $options | Array of cache adapter options |
Implements Guzzle\Cache\CacheAdapterInterface.
Definition at line 27 of file NullCacheAdapter.php.