Documentation

TimestampCacheEntry
in package
implements CacheEntry

Timestamp cache entry

Table of Contents

Interfaces

CacheEntry
Cache entry interface

Properties

$time  : float

Methods

__construct()  : mixed
__set_state()  : TimestampCacheEntry
Creates a new TimestampCacheEntry

Properties

$time

public float $time
Tags
readonly

Public only for performance reasons, it should be considered immutable.

Methods

__construct()

public __construct([float|null $time = null ]) : mixed
Parameters
$time : float|null = null

__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

Return values
TimestampCacheEntry

        
On this page

Search results