InMemoryCache
- Full name:
\Qubus\Cache\InMemoryCache
- Parent class:
\Qubus\Cache\BaseCache
- This class is marked as final and can't be subclassed
- This class is a Final class
Methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$ttl | int|null|\DateInterval | |
$namespace | ?string |
Inherited methods
__construct
Parameters:
Parameter | Type | Description |
---|---|---|
$ttl | int|null|\DateInterval | |
$namespace | ?string |
get
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$default | mixed |
See Also:
- \Psr\SimpleCache\CacheInterface::get() -
set
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string | |
$value | mixed | |
$ttl | null|int|\DateInterval |
See Also:
- \Psr\SimpleCache\CacheInterface::set() -
delete
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
See Also:
- \Psr\SimpleCache\CacheInterface::delete() -
clear
{@inheritdoc}
See Also:
- \Psr\SimpleCache\CacheInterface::clear() - * \Psr\Cache\CacheInterface::clear() - * \Qubus\Cache\Psr16\Psr16Cache::clear() -
getMultiple
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$keys | iterable | |
$default | mixed |
See Also:
- \Psr\SimpleCache\CacheInterface::getMultiple() -
setMultiple
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$values | iterable | |
$ttl | null|int|\DateInterval |
See Also:
- \Psr\SimpleCache\CacheInterface::setMultiple() -
deleteMultiple
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$keys | iterable |
See Also:
- \Psr\SimpleCache\CacheInterface::deleteMultiple() -
has
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
See Also:
- \Psr\SimpleCache\CacheInterface::has() -
getItem
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
See Also:
- \Psr\Cache\CacheItemPoolInterface::getItem() -
getItems
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$keys | array |
See Also:
- \Psr\Cache\CacheItemPoolInterface::getItems() -
hasItem
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
See Also:
- \Psr\Cache\CacheItemPoolInterface::hasItem() -
deleteItem
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$key | string |
See Also:
- \Psr\Cache\CacheItemPoolInterface::deleteItem() -
deleteItems
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$keys | array |
See Also:
- \Psr\Cache\CacheItemPoolInterface::deleteItems() -
save
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$item | \Psr\Cache\CacheItemInterface |
Throws:
See Also:
- \Psr\Cache\CacheItemPoolInterface::save() -
saveDeferred
{@inheritdoc}
Parameters:
Parameter | Type | Description |
---|---|---|
$item | \Psr\Cache\CacheItemInterface |
Throws:
See Also:
- \Psr\Cache\CacheItemPoolInterface::saveDeferred() -
commit
{@inheritdoc}
See Also:
- \Psr\Cache\CacheItemPoolInterface::commit() -
Automatically generated on 2025-10-13