Documentation

MessageInterface

Table of Contents

Methods

addSegment()  : $this
Add a segment to the message.
addSegments()  : $this
Add multiple segments to the message.
getAllSegments()  : iterable<string|int, SegmentInterface>
Get all the segments.
getSegment()  : SegmentInterface|null
Get the first segment that matches the requested code.
getSegments()  : iterable<string|int, SegmentInterface>
Get all the segments that match the requested code.
serialize()  : string
Serialize all the segments added to this object.

Methods

serialize()

Serialize all the segments added to this object.

public serialize() : string
Return values
string
On this page

Search results