Explore Server Side Testing SDK for PHP

RedisStorageDriver implements StorageDriverInterface

Table of Contents

Interfaces

StorageDriverInterface

Constants

KEY_PREFIX  = 'omniconvert'
TTL  = 31536000

Properties

$connection  : RedisConnection

Methods

__construct()  : mixed
get()  : mixed
Retrieve stored data
save()  : bool
Store data
buildKey()  : string

Constants

Properties

Methods

get()

Retrieve stored data

public get(string $key) : mixed
Parameters
$key : string

Data key

Return values
mixed

Stored data

save()

Store data

public save(string $key, mixed $data) : bool
Parameters
$key : string

Data key

$data : mixed

Data to be stored

Return values
bool

True if storage was successful

buildKey()

private buildKey(string $key) : string
Parameters
$key : string
Return values
string

        
On this page

Search results