MediaWiki master
Wikimedia\ObjectCache\Serialized\SerializedValueContainer Class Reference

Helper class for segmenting large cache values without relying on serializing classes. More...

Static Public Member Functions

static isSegmented ( $value)
 
static newSegmented (array $segmentHashList)
 

Public Attributes

const SEGMENTED_HASHES = '__hashes__'
 

Detailed Description

Helper class for segmenting large cache values without relying on serializing classes.

Since
1.34

Definition at line 14 of file SerializedValueContainer.php.

Member Function Documentation

◆ isSegmented()

static Wikimedia\ObjectCache\Serialized\SerializedValueContainer::isSegmented ( $value)
static

◆ newSegmented()

static Wikimedia\ObjectCache\Serialized\SerializedValueContainer::newSegmented ( array $segmentHashList)
static
Parameters
string[]$segmentHashListOrdered list of hashes for each segment
Returns
stdClass

Definition at line 24 of file SerializedValueContainer.php.

Member Data Documentation

◆ SEGMENTED_HASHES

const Wikimedia\ObjectCache\Serialized\SerializedValueContainer::SEGMENTED_HASHES = '__hashes__'

The documentation for this class was generated from the following file: