1 | <?php declare(strict_types=1); |
||
12 | abstract class User extends AbstractResource implements UserInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $id; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $login; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $url; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $avatar_url; |
||
33 | |||
34 | /** |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $type; |
||
38 | |||
39 | /** |
||
40 | * @var bool |
||
41 | */ |
||
42 | protected $site_admin; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $name; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | protected $company; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $blog; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $location; |
||
63 | |||
64 | /** |
||
65 | * @var string |
||
66 | */ |
||
67 | protected $email; |
||
68 | |||
69 | /** |
||
70 | * @var bool |
||
71 | */ |
||
72 | protected $hireable; |
||
73 | |||
74 | /** |
||
75 | * @var string |
||
76 | */ |
||
77 | protected $bio; |
||
78 | |||
79 | /** |
||
80 | * @var string |
||
81 | */ |
||
82 | protected $public_repos; |
||
83 | |||
84 | /** |
||
85 | * @var string |
||
86 | */ |
||
87 | protected $public_gists; |
||
88 | |||
89 | /** |
||
90 | * @var string |
||
91 | */ |
||
92 | protected $followers; |
||
93 | |||
94 | /** |
||
95 | * @var string |
||
96 | */ |
||
97 | protected $following; |
||
98 | |||
99 | /** |
||
100 | * @var DateTimeInterface |
||
101 | */ |
||
102 | protected $created_at; |
||
103 | |||
104 | /** |
||
105 | * @var DateTimeInterface |
||
106 | */ |
||
107 | protected $updated_at; |
||
108 | |||
109 | /** |
||
110 | * @return int |
||
111 | */ |
||
112 | 4 | public function id(): int |
|
116 | |||
117 | /** |
||
118 | * @return string |
||
119 | */ |
||
120 | 4 | public function login(): string |
|
124 | |||
125 | /** |
||
126 | * @return string |
||
127 | */ |
||
128 | 4 | public function url(): string |
|
132 | |||
133 | /** |
||
134 | * @return string |
||
135 | */ |
||
136 | 4 | public function avatarUrl(): string |
|
140 | |||
141 | /** |
||
142 | * @return string |
||
143 | */ |
||
144 | 4 | public function type(): string |
|
148 | |||
149 | /** |
||
150 | * @return bool |
||
151 | */ |
||
152 | 4 | public function siteAdmin(): bool |
|
156 | |||
157 | /** |
||
158 | * @return string |
||
159 | */ |
||
160 | 4 | public function name(): string |
|
164 | |||
165 | /** |
||
166 | * @return string |
||
167 | */ |
||
168 | 4 | public function company(): string |
|
172 | |||
173 | /** |
||
174 | * @return string |
||
175 | */ |
||
176 | 4 | public function blog(): string |
|
180 | |||
181 | /** |
||
182 | * @return string |
||
183 | */ |
||
184 | 4 | public function location(): string |
|
188 | |||
189 | /** |
||
190 | * @return string |
||
191 | */ |
||
192 | 4 | public function email(): string |
|
196 | |||
197 | /** |
||
198 | * @return bool |
||
199 | */ |
||
200 | 4 | public function hireable(): bool |
|
204 | |||
205 | /** |
||
206 | * @return string |
||
207 | */ |
||
208 | 4 | public function bio(): string |
|
212 | |||
213 | /** |
||
214 | * @return string |
||
215 | */ |
||
216 | 4 | public function publicRepos(): string |
|
220 | |||
221 | /** |
||
222 | * @return string |
||
223 | */ |
||
224 | 4 | public function publicGists(): string |
|
228 | |||
229 | /** |
||
230 | * @return string |
||
231 | */ |
||
232 | 4 | public function followers(): string |
|
236 | |||
237 | /** |
||
238 | * @return string |
||
239 | */ |
||
240 | 4 | public function following(): string |
|
244 | |||
245 | /** |
||
246 | * @return DateTimeInterface |
||
247 | */ |
||
248 | public function createdAt(): DateTimeInterface |
||
252 | |||
253 | /** |
||
254 | * @return DateTimeInterface |
||
255 | */ |
||
256 | public function updatedAt(): DateTimeInterface |
||
260 | |||
261 | public function repository(string $repository) |
||
264 | } |
||
265 |