1 | <?php declare(strict_types=1); |
||
16 | abstract class Tweet extends AbstractResource implements TweetInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var bool |
||
20 | */ |
||
21 | protected $favorited; |
||
22 | |||
23 | /** |
||
24 | * @var bool |
||
25 | */ |
||
26 | protected $truncated; |
||
27 | |||
28 | /** |
||
29 | * @var DateTime |
||
30 | */ |
||
31 | protected $created_at; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $id_str; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | //protected $in_reply_to_user_id_str; |
||
42 | |||
43 | /** |
||
44 | * @var array |
||
45 | */ |
||
46 | protected $contributors; |
||
47 | |||
48 | /** |
||
49 | * @var string |
||
50 | */ |
||
51 | protected $text; |
||
52 | |||
53 | /** |
||
54 | * @var int |
||
55 | */ |
||
56 | //protected $retweet_count; |
||
57 | |||
58 | /** |
||
59 | * @var string |
||
60 | */ |
||
61 | //protected $in_reply_to_status_id_str; |
||
62 | |||
63 | /** |
||
64 | * @var int |
||
65 | */ |
||
66 | protected $id; |
||
67 | |||
68 | /** |
||
69 | * @var bool |
||
70 | */ |
||
71 | protected $retweeted; |
||
72 | |||
73 | /** |
||
74 | * @var bool |
||
75 | */ |
||
76 | //protected $possibly_sensitive; |
||
77 | |||
78 | /** |
||
79 | * @var int |
||
80 | */ |
||
81 | //protected $in_reply_to_user_id; |
||
82 | |||
83 | /** |
||
84 | * @var User |
||
85 | */ |
||
86 | protected $user; |
||
87 | |||
88 | /** |
||
89 | * @var string |
||
90 | */ |
||
91 | //protected $in_reply_to_screen_name; |
||
92 | |||
93 | /** |
||
94 | * @var string |
||
95 | */ |
||
96 | //protected $source; |
||
97 | |||
98 | /** |
||
99 | * @var int |
||
100 | */ |
||
101 | //protected $in_reply_to_status_id; |
||
102 | |||
103 | /** |
||
104 | * @return bool |
||
105 | */ |
||
106 | 4 | public function favorited(): bool |
|
110 | |||
111 | /** |
||
112 | * @return bool |
||
113 | */ |
||
114 | 4 | public function truncated(): bool |
|
118 | |||
119 | /** |
||
120 | * @return DateTime |
||
121 | */ |
||
122 | public function createdAt(): DateTime |
||
126 | |||
127 | /** |
||
128 | * @return string |
||
129 | */ |
||
130 | 4 | public function idStr(): string |
|
134 | |||
135 | /** |
||
136 | * @return string |
||
137 | */ |
||
138 | public function inReplyToUserIdStr(): string |
||
142 | |||
143 | /** |
||
144 | * @return array |
||
145 | */ |
||
146 | public function contributors(): array |
||
150 | |||
151 | /** |
||
152 | * @return string |
||
153 | */ |
||
154 | 4 | public function text(): string |
|
158 | |||
159 | /** |
||
160 | * @return int |
||
161 | */ |
||
162 | public function retweetCount(): int |
||
166 | |||
167 | /** |
||
168 | * @return string |
||
169 | */ |
||
170 | public function inReplyToStatusIdStr(): string |
||
174 | |||
175 | /** |
||
176 | * @return int |
||
177 | */ |
||
178 | 4 | public function id(): int |
|
182 | |||
183 | /** |
||
184 | * @return bool |
||
185 | */ |
||
186 | 4 | public function retweeted(): bool |
|
190 | |||
191 | /** |
||
192 | * @return bool |
||
193 | */ |
||
194 | public function possiblySensitive(): bool |
||
198 | |||
199 | /** |
||
200 | * @return int |
||
201 | */ |
||
202 | public function inReplyToUserId(): int |
||
206 | |||
207 | /** |
||
208 | * @return User |
||
209 | */ |
||
210 | public function user(): User |
||
214 | |||
215 | /** |
||
216 | * @return string |
||
217 | */ |
||
218 | public function inReplyToScreenName(): string |
||
222 | |||
223 | /** |
||
224 | * @return string |
||
225 | */ |
||
226 | public function source(): string |
||
230 | |||
231 | /** |
||
232 | * @return int |
||
233 | */ |
||
234 | public function inReplyToStatusId(): int |
||
238 | } |
||
239 |
An attempt at access to an undefined property has been detected. This may either be a typographical error or the property has been renamed but there are still references to its old name.
If you really want to allow access to undefined properties, you can define magic methods to allow access. See the php core documentation on Overloading.