Explore Server Side Testing SDK for PHP

StorageDriverInterface

Table of Contents

Methods

get()  : mixed
Retrieve stored data
save()  : bool
Store data

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


        
On this page

Search results