MentioneeInfo
in package
Table of Contents
- $index : int
- $length : int
- $userId : string
- __construct() : mixed
- Mentionee Info Constructor
- getIndex() : int
- Returns Index position of the user mention for a character.
- getLength() : int
- Returns length of the text of the mentioned user.
- getUserId() : string|null
- Returns User ID of the mentioned user.
Properties
$index
private
int
$index
$length
private
int
$length
$userId
private
string
$userId
Methods
__construct()
Mentionee Info Constructor
public
__construct(array<string|int, mixed> $mentioneeInfo) : mixed
Parameters
- $mentioneeInfo : array<string|int, mixed>
Return values
mixed —getIndex()
Returns Index position of the user mention for a character.
public
getIndex() : int
Return values
int —getLength()
Returns length of the text of the mentioned user.
public
getLength() : int
Return values
int —getUserId()
Returns User ID of the mentioned user.
public
getUserId() : string|null