com\setasign\SetaFramework\SimpleCache
ValidationCacheEntry Class ValidationCacheEntry
File: /SetaFramework/src/SimpleCache/ValidationCacheEntry.php
The validation cache entry is a wrapper around PSR-16 with the possibility to let the cache invalidate by validators (instead of just time).
Class hierarchy
Summary
Properties
$cache
protected ValidationCacheEntry::$cache
$key
protected ValidationCacheEntry::$key
Methods
__construct()
public ValidationCacheEntry::__construct ()
SerializeContainer constructor.
Parameters
- $cache : \Psr\SimpleCache\CacheInterface
- $key : string
- $validators : Validator\ValidatorInterface
set()
Parameters
- $value : mixed
- $ttl : \DateInterval|int|null
