Session

Holds properties of Consul sessions

package

Default

Methods

Session constructor

__construct( $session = null) 

Arguments

$session

mixed | null

getChecks

getChecks() : array

Response

array

getCreateIndex

getCreateIndex() : integer

Response

integer

getId

getId() : string

Response

string

getIndex

getIndex() : integer

Response

integer

getLockDelay

getLockDelay() : integer

Response

integer

getNode

getNode() : string

Response

string

setChecks

setChecks( $checks) : $this

Arguments

$checks

string

Response

$this

setCreateIndex

setCreateIndex( $createIndex) : $this

Arguments

$createIndex

integer

Response

$this

setId

setId( $id) : $this

Arguments

$id

string

Response

$this

setIndex

setIndex( $index) : $this

Arguments

$index

integer

Response

$this

setLockDelay

setLockDelay( $lockDelay) : $this

Arguments

$lockDelay

integer

Response

$this

setNode

setNode( $node) : $this

Arguments

$node

string

Response

$this