class Dice

This object represents an animated emoji that displays a random value.

Methods

__construct(string $emoji, int $value)

No description

string
getEmoji()

Emoji on which the dice throw animation is based.

int
getValue()

__simple_html_domvoku__html_wrapper____>Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji.

Details

at line 14
__construct(string $emoji, int $value)

No description

Parameters

string $emoji
int $value

at line 23
string getEmoji()

Emoji on which the dice throw animation is based.

Return Value

string

at line 31
int getValue()

__simple_html_domvoku__html_wrapper____>Value of the dice, 1-6 for “🎲”, “🎯” and “🎳” base emoji, 1-5 for “🏀” and “⚽” base emoji, 1-64 for “🎰” base emoji.

Return Value

int