Event

Holds properties of Consul event

package

Default

Methods

Event constructor

__construct( $event = null) 

Arguments

$event

mixed | null

getId

getId() : string

Response

string

getLTime

getLTime() : integer

Response

integer

getName

getName() : string

Response

string

getNode

getNode() : string

Response

string

getPayload

getPayload() : string

Response

string

getService

getService() : string

Response

string

getTag

getTag() : string

Response

string

getVersion

getVersion() : integer

Response

integer

setId

setId( $id) : $this

Arguments

$id

string

Response

$this

setLTime

setLTime( $lTime) : $this

Arguments

$lTime

integer

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setNode

setNode( $node) : $this

Arguments

$node

string

Response

$this

setPayload

setPayload( $payload) : $this

Arguments

$payload

string

Response

$this

setService

setService( $service) : $this

Arguments

$service

string

Response

$this

setTag

setTag( $tag) : $this

Arguments

$tag

string

Response

$this

setVersion

setVersion( $version) : $this

Arguments

$version

integer

Response

$this