class SessionPersistentDataStore implements PersistentDataStoreInterface (View source)

Properties

protected string $prefix Session Variable Prefix

Methods

__construct(string $prefix = 'DBAPI_')

Create a new SessionPersistentDataStore instance

string
get(string $key)

Get a value from the store

set(string $key, string $value)

Set a value in the store

void
clear($key)

Clear the key from the store

Details

at line line 19
__construct(string $prefix = 'DBAPI_')

Create a new SessionPersistentDataStore instance

Parameters

string $prefix Session Variable Prefix

at line line 31
string get(string $key)

Get a value from the store

Parameters

string $key Data Key

Return Value

string

at line line 47
set(string $key, string $value)

Set a value in the store

Parameters

string $key Data Key
string $value Data Value

at line line 59
void clear($key)

Clear the key from the store

Parameters

$key Data Key

Return Value

void