1 | <?php declare(strict_types=1); |
||
16 | abstract class Status extends AbstractResource implements StatusInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var DateTimeInterface |
||
20 | */ |
||
21 | protected $created_at; |
||
22 | |||
23 | /** |
||
24 | * @var DateTimeInterface |
||
25 | */ |
||
26 | protected $updated_at; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $state; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $target_url; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $description; |
||
42 | |||
43 | /** |
||
44 | * @var int |
||
45 | */ |
||
46 | protected $id; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $url; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | */ |
||
56 | protected $context; |
||
57 | |||
58 | /** |
||
59 | * @var User |
||
60 | */ |
||
61 | protected $creator; |
||
62 | |||
63 | /** |
||
64 | * @return DateTimeInterface |
||
65 | */ |
||
66 | public function createdAt() : DateTimeInterface |
||
70 | |||
71 | /** |
||
72 | * @return DateTimeInterface |
||
73 | */ |
||
74 | public function updatedAt() : DateTimeInterface |
||
78 | |||
79 | /** |
||
80 | * @return string |
||
81 | */ |
||
82 | public function state() : string |
||
86 | |||
87 | /** |
||
88 | * @return string |
||
89 | */ |
||
90 | public function targetUrl() : string |
||
94 | |||
95 | /** |
||
96 | * @return string |
||
97 | */ |
||
98 | public function description() : string |
||
102 | |||
103 | /** |
||
104 | * @return int |
||
105 | */ |
||
106 | public function id() : int |
||
110 | |||
111 | /** |
||
112 | * @return string |
||
113 | */ |
||
114 | public function url() : string |
||
118 | |||
119 | /** |
||
120 | * @return string |
||
121 | */ |
||
122 | public function context() : string |
||
126 | |||
127 | /** |
||
128 | * @return User |
||
129 | */ |
||
130 | public function creator() : User |
||
134 | } |
||
135 |