File tree 24 files changed +1899
-0
lines changed
24 files changed +1899
-0
lines changed Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \DeletedTweet as BaseDeletedTweet ;
6
+
7
+ class DeletedTweet extends BaseDeletedTweet
8
+ {
9
+ public function refresh () : DeletedTweet
10
+ {
11
+ return $ this ->wait ($ this ->callAsync ('refresh ' ));
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \EmptyDeletedTweet as BaseEmptyDeletedTweet ;
6
+
7
+ class EmptyDeletedTweet extends BaseEmptyDeletedTweet
8
+ {
9
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \EmptyTweet as BaseEmptyTweet ;
6
+
7
+ class EmptyTweet extends BaseEmptyTweet
8
+ {
9
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \EmptyUser as BaseEmptyUser ;
6
+
7
+ class EmptyUser extends BaseEmptyUser
8
+ {
9
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \Tweet as BaseTweet ;
6
+
7
+ class Tweet extends BaseTweet
8
+ {
9
+ public function refresh () : Tweet
10
+ {
11
+ return $ this ->wait ($ this ->callAsync ('refresh ' ));
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource \Async ;
4
+
5
+ use ApiClients \Twitter \Resource \User as BaseUser ;
6
+
7
+ class User extends BaseUser
8
+ {
9
+ public function refresh () : User
10
+ {
11
+ return $ this ->wait ($ this ->callAsync ('refresh ' ));
12
+ }
13
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource ;
4
+
5
+ use ApiClients \Foundation \Hydrator \Annotations \EmptyResource ;
6
+ use ApiClients \Foundation \Resource \AbstractResource ;
7
+
8
+ /**
9
+ * @EmptyResource("EmptyDeletedTweet")
10
+ */
11
+ abstract class DeletedTweet extends AbstractResource implements DeletedTweetInterface
12
+ {
13
+ /**
14
+ * @var array
15
+ */
16
+ protected $ status ;
17
+
18
+ /**
19
+ * @var string
20
+ */
21
+ protected $ timestamp_ms ;
22
+
23
+ /**
24
+ * @return array
25
+ */
26
+ public function status () : array
27
+ {
28
+ return $ this ->status ;
29
+ }
30
+
31
+ /**
32
+ * @return string
33
+ */
34
+ public function timestampMs () : string
35
+ {
36
+ return $ this ->timestamp_ms ;
37
+ }
38
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource ;
4
+
5
+ use ApiClients \Foundation \Resource \ResourceInterface ;
6
+
7
+ interface DeletedTweetInterface extends ResourceInterface
8
+ {
9
+ /**
10
+ * @return array
11
+ */
12
+ public function status () : array ;
13
+
14
+ /**
15
+ * @return string
16
+ */
17
+ public function timestampMs () : string ;
18
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource ;
4
+
5
+ use ApiClients \Foundation \Resource \EmptyResourceInterface ;
6
+
7
+ abstract class EmptyDeletedTweet implements DeletedTweetInterface, EmptyResourceInterface
8
+ {
9
+ /**
10
+ * @return array
11
+ */
12
+ public function status () : array
13
+ {
14
+ return null ;
15
+ }
16
+
17
+ /**
18
+ * @return string
19
+ */
20
+ public function timestampMs () : string
21
+ {
22
+ return null ;
23
+ }
24
+ }
Original file line number Diff line number Diff line change
1
+ <?php declare (strict_types=1 );
2
+
3
+ namespace ApiClients \Twitter \Resource ;
4
+
5
+ use ApiClients \Foundation \Resource \EmptyResourceInterface ;
6
+ use DateTime ;
7
+
8
+ abstract class EmptyTweet implements TweetInterface, EmptyResourceInterface
9
+ {
10
+ /**
11
+ * @return bool
12
+ */
13
+ public function favorited () : bool
14
+ {
15
+ return null ;
16
+ }
17
+
18
+ /**
19
+ * @return bool
20
+ */
21
+ public function truncated () : bool
22
+ {
23
+ return null ;
24
+ }
25
+
26
+ /**
27
+ * @return DateTime
28
+ */
29
+ public function createdAt () : DateTime
30
+ {
31
+ return null ;
32
+ }
33
+
34
+ /**
35
+ * @return string
36
+ */
37
+ public function idStr () : string
38
+ {
39
+ return null ;
40
+ }
41
+
42
+ /**
43
+ * @return string
44
+ */
45
+ public function inReplyToUserIdStr () : string
46
+ {
47
+ return null ;
48
+ }
49
+
50
+ /**
51
+ * @return array
52
+ */
53
+ public function contributors () : array
54
+ {
55
+ return null ;
56
+ }
57
+
58
+ /**
59
+ * @return string
60
+ */
61
+ public function text () : string
62
+ {
63
+ return null ;
64
+ }
65
+
66
+ /**
67
+ * @return int
68
+ */
69
+ public function retweetCount () : int
70
+ {
71
+ return null ;
72
+ }
73
+
74
+ /**
75
+ * @return string
76
+ */
77
+ public function inReplyToStatusIdStr () : string
78
+ {
79
+ return null ;
80
+ }
81
+
82
+ /**
83
+ * @return int
84
+ */
85
+ public function id () : int
86
+ {
87
+ return null ;
88
+ }
89
+
90
+ /**
91
+ * @return bool
92
+ */
93
+ public function retweeted () : bool
94
+ {
95
+ return null ;
96
+ }
97
+
98
+ /**
99
+ * @return bool
100
+ */
101
+ public function possiblySensitive () : bool
102
+ {
103
+ return null ;
104
+ }
105
+
106
+ /**
107
+ * @return int
108
+ */
109
+ public function inReplyToUserId () : int
110
+ {
111
+ return null ;
112
+ }
113
+
114
+ /**
115
+ * @return User
116
+ */
117
+ public function user () : User
118
+ {
119
+ return null ;
120
+ }
121
+
122
+ /**
123
+ * @return string
124
+ */
125
+ public function inReplyToScreenName () : string
126
+ {
127
+ return null ;
128
+ }
129
+
130
+ /**
131
+ * @return string
132
+ */
133
+ public function source () : string
134
+ {
135
+ return null ;
136
+ }
137
+
138
+ /**
139
+ * @return int
140
+ */
141
+ public function inReplyToStatusId () : int
142
+ {
143
+ return null ;
144
+ }
145
+ }
You can’t perform that action at this time.
0 commit comments