Explore Server Side Testing SDK for PHP

StorageFacadeInterface

Table of Contents

Methods

findUser()  : User|null
getExperiments()  : array<string|int, mixed>
getLastExperimentsFetchTime()  : int|null
Gets the timestamp of the last time experiments were fetched
getSettings()  : array<string|int, mixed>
getWebsiteId()  : string|null
saveExperiments()  : bool
saveLastExperimentsFetchTime()  : bool
Sets the timestamp of the last time experiments were fetched
saveSettings()  : bool
saveUser()  : bool
saveWebsiteId()  : bool

Methods

getExperiments()

public getExperiments() : array<string|int, mixed>
Return values
array<string|int, mixed>

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

getSettings()

public getSettings() : array<string|int, mixed>
Return values
array<string|int, mixed>

saveExperiments()

public saveExperiments(array<string|int, mixed> $experiments) : bool
Parameters
$experiments : array<string|int, mixed>
Return values
bool

saveLastExperimentsFetchTime()

Sets the timestamp of the last time experiments were fetched

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

saveSettings()

public saveSettings(array<string|int, mixed> $settings) : bool
Parameters
$settings : array<string|int, mixed>
Return values
bool

saveWebsiteId()

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

        
On this page

Search results