메소드 | 설명 | |
---|---|---|
__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 ) |
메소드 | 설명 | |
---|---|---|
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 saveDeferred ( Psr\Cache\CacheItemInterface $item ) | ||
$item | Psr\Cache\CacheItemInterface |