9 private const SCHEMA =
'__svc_schema__';
34 self::SEGMENTED_HASHES => $segmentHashList
44 $value instanceof stdClass &&
45 ( $value->{self::SCHEMA} ?? null ) === self::SCHEMA_UNIFIED
55 $value instanceof stdClass &&
56 ( $value->{self::SCHEMA} ?? null ) === self::SCHEMA_SEGMENTED
Helper class for segmenting large cache values without relying on serializing classes.
static newSegmented(array $segmentHashList)
static isSegmented( $value)
static isUnified( $value)
static newUnified( $serialized)
foreach( $res as $row) $serialized