Record

Describes a `service`. The record is the only piece of information shared between consumer and provider. It should contains enough metadata to let consumer find the service they want.

package

Default

Methods

Record constructor

__construct( $record = null) 

Arguments

$record

mixed | null

getLocation

getLocation() : array

Response

array

getName

getName() : string

Response

string

getRegistration

getRegistration() : string

Response

string

getStatus

getStatus() : string

Response

string

getType

getType() : string

Response

string

setLocation

setLocation( $location) : $this

Arguments

$location

array

Response

$this

setName

setName( $name) : $this

Arguments

$name

string

Response

$this

setRegistration

setRegistration( $registration) : $this

Arguments

$registration

string

Response

$this

setStatus

setStatus( $status) : $this

Arguments

$status

string

Response

$this

setType

setType( $type) : $this

Arguments

$type

string

Response

$this