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 | 4 | protected $updated_at; |
|
108 | |||
109 | 4 | /** |
|
110 | * @return int |
||
111 | */ |
||
112 | public function id() : int |
||
116 | |||
117 | 4 | /** |
|
118 | * @return string |
||
119 | */ |
||
120 | public function login() : string |
||
124 | |||
125 | 4 | /** |
|
126 | * @return string |
||
127 | */ |
||
128 | public function url() : string |
||
132 | |||
133 | 4 | /** |
|
134 | * @return string |
||
135 | */ |
||
136 | public function avatarUrl() : string |
||
140 | |||
141 | 4 | /** |
|
142 | * @return string |
||
143 | */ |
||
144 | public function type() : string |
||
148 | |||
149 | 4 | /** |
|
150 | * @return bool |
||
151 | */ |
||
152 | public function siteAdmin() : bool |
||
156 | |||
157 | 4 | /** |
|
158 | * @return string |
||
159 | */ |
||
160 | public function name() : string |
||
164 | |||
165 | 4 | /** |
|
166 | * @return string |
||
167 | */ |
||
168 | public function company() : string |
||
172 | |||
173 | 4 | /** |
|
174 | * @return string |
||
175 | */ |
||
176 | public function blog() : string |
||
180 | |||
181 | 4 | /** |
|
182 | * @return string |
||
183 | */ |
||
184 | public function location() : string |
||
188 | |||
189 | 4 | /** |
|
190 | * @return string |
||
191 | */ |
||
192 | public function email() : string |
||
196 | |||
197 | 4 | /** |
|
198 | * @return bool |
||
199 | */ |
||
200 | public function hireable() : bool |
||
204 | |||
205 | 4 | /** |
|
206 | * @return string |
||
207 | */ |
||
208 | public function bio() : string |
||
212 | |||
213 | 4 | /** |
|
214 | * @return string |
||
215 | */ |
||
216 | public function publicRepos() : string |
||
220 | |||
221 | 4 | /** |
|
222 | * @return string |
||
223 | */ |
||
224 | public function publicGists() : string |
||
228 | |||
229 | 4 | /** |
|
230 | * @return string |
||
231 | */ |
||
232 | public function followers() : string |
||
236 | |||
237 | /** |
||
238 | * @return string |
||
239 | */ |
||
240 | 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 |