Explore Server Side Testing SDK for PHP

WebsiteStorage implements WebsiteStorageInterface

Table of Contents

Interfaces

WebsiteStorageInterface

Constants

LAST_EXPERIMENTS_FETCH_TIME_KEY  = 'last_experiments_fetch_time'
WEBSITE_ID_KEY  = 'website_id'

Properties

$driver  : StorageDriverInterface

Methods

__construct()  : mixed
getLastExperimentsFetchTime()  : int|null
Gets the timestamp of the last time experiments were fetched
getWebsiteId()  : string|null
saveLastExperimentsFetchTime()  : bool
Sets the timestamp of the last time experiments were fetched
saveWebsiteId()  : bool

Constants

LAST_EXPERIMENTS_FETCH_TIME_KEY

public mixed LAST_EXPERIMENTS_FETCH_TIME_KEY = 'last_experiments_fetch_time'

Properties

Methods

getLastExperimentsFetchTime()

Gets the timestamp of the last time experiments were fetched

public getLastExperimentsFetchTime() : int|null
Return values
int|null

Timestamp or null if not set

getWebsiteId()

public getWebsiteId() : string|null
Return values
string|null

saveLastExperimentsFetchTime()

Sets the timestamp of the last time experiments were fetched

public saveLastExperimentsFetchTime(int $timestamp) : bool
Parameters
$timestamp : int
Return values
bool

saveWebsiteId()

public saveWebsiteId(string $websiteId) : bool
Parameters
$websiteId : string
Return values
bool

        
On this page

Search results