Property | Type | Description | |
---|---|---|---|
$cachePool | Stash\Interfaces\PoolInterface |
Method | Description | |
---|---|---|
__construct ( Stash\Interfaces\PoolInterface $cachePool ) | Constructs the cache service decorator. | |
clear ( ) | Clears the cache for the key, or if none is specified clears the entire cache. The key can be either a series of string arguments, or an array. | |
getItem ( ) : Stash\Interfaces\ItemInterface | Prepend key with prefix and support array format Stash supported before. | |
getItems ( array $keys = [] ) : Stash\Interfaces\ItemInterface[] | Prepend keys with prefix. |
Method | Description | |
---|---|---|
washKey ( string $key ) : string | Remove slashes from start and end of keys, and for content replace it with _ to avoid issues for Stash. |
public __construct ( Stash\Interfaces\PoolInterface $cachePool ) | ||
$cachePool | Stash\Interfaces\PoolInterface |
public clear ( ) |
public getItem ( ) : Stash\Interfaces\ItemInterface | ||
return | Stash\Interfaces\ItemInterface |