KeyValue

Represents key/value pair stored in Consul

package

Default

Methods

KeyValue constructor

__construct( $keyValue = null) 

Arguments

$keyValue

mixed | null

getCreateIndex

getCreateIndex() : integer

Response

integer

getFlags

getFlags() : integer

Response

integer

getKey

getKey() : string

Response

string

getLockIndex

getLockIndex() : integer

Response

integer

getModifyIndex

getModifyIndex() : integer

Response

integer

getSession

getSession() : string

Response

string

getValue

getValue() : string

Response

string

setCreateIndex

setCreateIndex( $createIndex) : $this

Arguments

$createIndex

integer

Response

$this

setFlags

setFlags( $flags) : $this

Arguments

$flags

integer

Response

$this

setKey

setKey( $key) : $this

Arguments

$key

string

Response

$this

setLockIndex

setLockIndex( $lockIndex) : $this

Arguments

$lockIndex

integer

Response

$this

setModifyIndex

setModifyIndex( $modifyIndex) : $this

Arguments

$modifyIndex

integer

Response

$this

setSession

setSession( $session) : $this

Arguments

$session

string

Response

$this

setValue

setValue( $value) : $this

Arguments

$value

string

Response

$this