Namespace
Google \ Auth \ CacheMethods
__construct
Creates a FileSystemCacheItemPool cache that stores values in local storage
Parameter | |
---|---|
Name | Description |
path |
string
The string representation of the path where the cache will store the serialized objects. |
getItem
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
key |
string
|
getItems
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
keys |
array
|
Returns | |
---|---|
Type | Description |
iterable<\psr\cache\cacheiteminterface> |
An iterable object containing all the A traversable collection of Cache Items keyed by the cache keys of each item. A Cache item will be returned for each key, even if that key is not found. However, if no keys are specified then an empty traversable MUST be returned instead. |
save
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
item |
Psr\Cache\CacheItemInterface
|
hasItem
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
key |
string
|
clear
{@inheritdoc}
deleteItem
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
key |
string
|
deleteItems
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
keys |
array
|
saveDeferred
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
item |
Psr\Cache\CacheItemInterface
|
commit
{@inheritdoc}