CloseMessage
in package
implements
MessageInterface
Table of Contents
Interfaces
Properties
- $subscriptionId : string
- Subscription ID
- $type : string
Methods
- __construct() : mixed
- generate() : string
- Generate the message ready to be sent to a relay.
- setType() : void
- Set message type.
Properties
$subscriptionId
Subscription ID
protected
string
$subscriptionId
$type
private
string
$type
Methods
__construct()
public
__construct(string $subscriptionId) : mixed
Parameters
- $subscriptionId : string
generate()
Generate the message ready to be sent to a relay.
public
generate() : string
Return values
stringsetType()
Set message type.
public
setType(MessageTypeEnum $type) : void
Parameters
- $type : MessageTypeEnum