diff options
Diffstat (limited to 'src/emote.php')
| -rw-r--r-- | src/emote.php | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/src/emote.php b/src/emote.php new file mode 100644 index 0000000..5d39e42 --- /dev/null +++ b/src/emote.php @@ -0,0 +1,36 @@ +<?php +class Emote +{ + public string $id; + public string $code; + public string $ext; + public int $created_at; + + function __construct($id, $code, $ext, $created_at) + { + $this->id = $id; + $this->code = $code; + $this->ext = $ext; + $this->created_at = $created_at; + } + + function get_id() + { + return $this->id; + } + + function get_code() + { + return $this->code; + } + + function get_ext() + { + return $this->ext; + } + + function get_created_at() + { + return $this->created_at; + } +} |
