summaryrefslogtreecommitdiff
path: root/src/emote.php
blob: 5d39e426e0dc829677870d4dbb445da78956a74f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
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;
    }
}