class Segment extends Model (View source)

Properties

protected $formattingType
protected $formattingDataType
protected $hashtagDataType
protected $hashtagDataDataType
protected $linkDataType
protected $linkDataDataType
protected $searchLinkDataType
protected $searchLinkDataDataType
string $text
string $type
protected $userMentionDataType
protected $userMentionDataDataType

Methods

setFormatting(Formatting $formatting)

No description

getFormatting()

No description

setHashtagData(HashtagData $hashtagData)

No description

getHashtagData()

No description

setLinkData(LinkData $linkData)

No description

getLinkData()

No description

setSearchLinkData(SearchLinkData $searchLinkData)

No description

setText($text)

No description

string
getText()

No description

setType($type)

No description

string
getType()

No description

setUserMentionData(UserMentionData $userMentionData)

No description

Details

setFormatting(Formatting $formatting)

No description

Parameters

Formatting $formatting

Formatting getFormatting()

No description

Return Value

Formatting

setHashtagData(HashtagData $hashtagData)

No description

Parameters

HashtagData $hashtagData

HashtagData getHashtagData()

No description

Return Value

HashtagData

setLinkData(LinkData $linkData)

No description

Parameters

LinkData $linkData

LinkData getLinkData()

No description

Return Value

LinkData

setSearchLinkData(SearchLinkData $searchLinkData)

No description

Parameters

SearchLinkData $searchLinkData

SearchLinkData getSearchLinkData()

No description

Return Value

SearchLinkData

setText($text)

No description

Parameters

$text

string getText()

No description

Return Value

string

setType($type)

No description

Parameters

$type

string getType()

No description

Return Value

string

setUserMentionData(UserMentionData $userMentionData)

No description

Parameters

UserMentionData $userMentionData

UserMentionData getUserMentionData()

No description

Return Value

UserMentionData