ServiceOptions

Options used to register service.

package

Default

Methods

ServiceOptions constructor

__construct( $serviceOptions = null) 

Arguments

$serviceOptions

mixed | null

getAddress

getAddress() : string

Response

string

getCheckOptions

getCheckOptions() : \io\vertx\jphp\ext\consul\CheckOptions

getId

getId() : string

Response

string

getMeta

getMeta() : array

Response

array

getName

getName() : string

Response

string

getPort

getPort() : integer

Response

integer

getTags

getTags() : array

Response

array

setAddress

setAddress( $address) : $this

Arguments

$address

string

Response

$this

setCheckOptions

setCheckOptions( $checkOptions) : $this

Arguments

$checkOptions

CheckOptions|array

Response

$this

setId

setId( $id) : $this

Arguments

$id

string

Response

$this

setMeta

setMeta( $meta) : $this

Arguments

$meta

string

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setPort

setPort( $port) : $this

Arguments

$port

integer

Response

$this

setTags

setTags( $tags) : $this

Arguments

$tags

string

Response

$this