Méthode | Description | |
---|---|---|
__construct ( Cache\Hierarchy\HierarchicalPoolInterface $cachePool, string $namespace ) | ||
clear ( ) | ||
commit ( ) | ||
deleteItem ( $key ) | ||
deleteItems ( array $keys ) | ||
getItem ( $key ) | ||
getItems ( array $keys = [] ) | ||
hasItem ( $key ) | ||
save ( Psr\Cache\CacheItemInterface $item ) | ||
saveDeferred ( Psr\Cache\CacheItemInterface $item ) |
Méthode | Description | |
---|---|---|
prefixValue ( &$key ) | Add namespace prefix on the key. | |
prefixValues ( array &$keys ) |
public __construct ( Cache\Hierarchy\HierarchicalPoolInterface $cachePool, string $namespace ) | ||
$cachePool | Cache\Hierarchy\HierarchicalPoolInterface | |
$namespace | string |
public save ( Psr\Cache\CacheItemInterface $item ) | ||
$item | Psr\Cache\CacheItemInterface |
public saveDeferred ( Psr\Cache\CacheItemInterface $item ) | ||
$item | Psr\Cache\CacheItemInterface |