Reference documentation and code samples for the Google Auth Library Client class TypedItem.
A cache item.
This class will be used by MemoryCacheItemPool and SysVCacheItemPool on PHP 8.0 and above. It is compatible with psr/cache 3.0 (PSR-6).
Namespace
Google \ Auth \ CacheMethods
__construct
Parameter | |
---|---|
Name | Description |
key |
string
|
getKey
{@inheritdoc}
get
{@inheritdoc}
isHit
{@inheritdoc}
set
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
value |
mixed
|
expiresAt
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
expiration |
mixed
|
expiresAfter
{@inheritdoc}
Parameter | |
---|---|
Name | Description |
time |
mixed
|