TimestampCacheEntry
in package
implements
CacheEntry
Timestamp cache entry
Interfaces, Classes, Traits and Enums
- CacheEntry
- Cache entry interface
Table of Contents
- $time : float
- READ-ONLY: Public only for performance reasons, it should be considered immutable.
- __construct() : mixed
- __set_state() : TimestampCacheEntry
- Creates a new TimestampCacheEntry
Properties
$time
READ-ONLY: Public only for performance reasons, it should be considered immutable.
public
float
$time
Methods
__construct()
public
__construct([float $time = null ]) : mixed
Parameters
- $time : float = null
Return values
mixed —__set_state()
Creates a new TimestampCacheEntry
public
static __set_state(array<string, float> $values) : TimestampCacheEntry
This method allow Doctrine\Common\Cache\PhpFileCache compatibility
Parameters
- $values : array<string, float>
-
array containing property values