Открытые члены | |
__construct (array $messageIds, bool $withOwnReactions=true) | |
addReactionMessage (ReactionMessage $reaction) | |
getReactionMessage (int $messageId) | |
toRestFormat (array $option=[]) | |
getUserIds () | |
getPopupData (array $excludedList=[]) | |
![]() | |
unsetByKeys (array $keys) | |
filter (callable $predicate) | |
getAny () | |
Открытые статические члены | |
static | initFromArray (array $reactionArray, bool $withOwnReactions=true) |
static | getRestEntityName () |
<int,ReactionMessage> @method ReactionMessage next() @method ReactionMessage current() @method ReactionMessage offsetGet($offset)
См. определение в файле ReactionMessages.php строка 20
__construct | ( | array | $messageIds, |
bool | $withOwnReactions = true ) |
См. определение в файле ReactionMessages.php строка 26
addReactionMessage | ( | ReactionMessage | $reaction | ) |
См. определение в файле ReactionMessages.php строка 51
getPopupData | ( | array | $excludedList = [] | ) |
Returns the data to be raised to the top of the REST response. Works on the principle of the composite pattern.
string[] | $excludedList |
Замещает PopupDataAggregatable.
См. определение в файле ReactionMessages.php строка 131
getReactionMessage | ( | int | $messageId | ) |
См. определение в файле ReactionMessages.php строка 58
|
static |
Returns the name of the entity that will be used in the rest response
Замещает RestConvertible.
См. определение в файле ReactionMessages.php строка 92
getUserIds | ( | ) |
См. определение в файле ReactionMessages.php строка 116
|
static |
См. определение в файле ReactionMessages.php строка 39
toRestFormat | ( | array | $option = [] | ) |
Returns an array in JSON like format to return the entity as a rest response.
array | $option |
Замещает RestConvertible.
См. определение в файле ReactionMessages.php строка 97