Explore Server Side Testing SDK for PHP

User

Table of Contents

Properties

$experimentsBucket  : Bucket
$id  : string
$isReturning  : bool
$lastActivityAt  : DateTime
$pageviewCount  : int
$sessionCount  : int
$sessionId  : string
$sessionParams  : SessionParams
$trafficAllocationBucket  : Bucket
$variationsBucket  : Bucket

Methods

__construct()  : mixed
getExperimentsBucket()  : mixed
getId()  : string
getLastActivityAt()  : mixed
getPageviewCount()  : mixed
getSessionCount()  : mixed
getSessionId()  : string
Get the session id
getSessionParams()  : mixed
getTrafficAllocationBucket()  : mixed
getVariationsBucket()  : Bucket
Get the variations bucket
incrementPageviewCount()  : mixed
incrementSessionCount()  : mixed
isReturning()  : bool
Get the is returning
setExperimentsBucket()  : mixed
setIsReturning()  : void
Set the is returning
setLastActivityAt()  : mixed
setPageviewCount()  : mixed
setSessionCount()  : mixed
setSessionId()  : void
Set the session id
setSessionParams()  : mixed
setTrafficAllocationBucket()  : mixed
setVariationsBucket()  : void
Set the variations bucket

Properties

$isReturning

private bool $isReturning = false

$lastActivityAt

private DateTime $lastActivityAt

$pageviewCount

private int $pageviewCount

$sessionCount

private int $sessionCount

$sessionId

private string $sessionId

$trafficAllocationBucket

private Bucket $trafficAllocationBucket

Methods

__construct()

public __construct(string $id) : mixed
Parameters
$id : string

getExperimentsBucket()

public getExperimentsBucket() : mixed

getId()

public getId() : string
Return values
string

getLastActivityAt()

public getLastActivityAt() : mixed

getPageviewCount()

public getPageviewCount() : mixed

getSessionCount()

public getSessionCount() : mixed

getSessionId()

Get the session id

public getSessionId() : string
Return values
string

getSessionParams()

public getSessionParams() : mixed

getTrafficAllocationBucket()

public getTrafficAllocationBucket() : mixed

getVariationsBucket()

Get the variations bucket

public getVariationsBucket() : Bucket
Return values
Bucket

incrementPageviewCount()

public incrementPageviewCount() : mixed

incrementSessionCount()

public incrementSessionCount() : mixed

isReturning()

Get the is returning

public isReturning() : bool
Return values
bool

setExperimentsBucket()

public setExperimentsBucket(Bucket $experimentsBucket) : mixed
Parameters
$experimentsBucket : Bucket

setIsReturning()

Set the is returning

public setIsReturning(bool $isReturning) : void
Parameters
$isReturning : bool

setLastActivityAt()

public setLastActivityAt(DateTime $lastActivityAt) : mixed
Parameters
$lastActivityAt : DateTime

setPageviewCount()

public setPageviewCount(int $pageviewCount) : mixed
Parameters
$pageviewCount : int

setSessionCount()

public setSessionCount(int $sessionCount) : mixed
Parameters
$sessionCount : int

setSessionId()

Set the session id

public setSessionId(string $sessionId) : void
Parameters
$sessionId : string

setTrafficAllocationBucket()

public setTrafficAllocationBucket(Bucket $trafficAllocationBucket) : mixed
Parameters
$trafficAllocationBucket : Bucket

setVariationsBucket()

Set the variations bucket

public setVariationsBucket(Bucket $variationsBucket) : void
Parameters
$variationsBucket : Bucket

        
On this page

Search results