ServiceEntry

Holds properties of service, node and related checks

package

Default

Methods

ServiceEntry constructor

__construct( $serviceEntry = null) 

Arguments

$serviceEntry

mixed | null

getChecks

getChecks() : array

Response

array

getNode

getNode() : \io\vertx\jphp\ext\consul\Node

getService

getService() : \io\vertx\jphp\ext\consul\Service

setChecks

setChecks( $checks) : $this

Arguments

$checks

Check|array

Response

$this

setNode

setNode( $node) : $this

Arguments

$node

Node|array

Response

$this

setService

setService( $service) : $this

Arguments

$service

Service|array

Response

$this