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 $avatar_url; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $type; |
||
33 | |||
34 | /** |
||
35 | * @var bool |
||
36 | */ |
||
37 | protected $site_admin; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $name; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $company; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | protected $blog; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $location; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $email; |
||
63 | |||
64 | /** |
||
65 | * @var bool |
||
66 | */ |
||
67 | protected $hireable; |
||
68 | |||
69 | /** |
||
70 | * @var string |
||
71 | */ |
||
72 | protected $bio; |
||
73 | |||
74 | /** |
||
75 | * @var string |
||
76 | */ |
||
77 | protected $public_repos; |
||
78 | |||
79 | /** |
||
80 | * @var string |
||
81 | */ |
||
82 | protected $public_gists; |
||
83 | |||
84 | /** |
||
85 | * @var string |
||
86 | */ |
||
87 | protected $followers; |
||
88 | |||
89 | /** |
||
90 | * @var string |
||
91 | */ |
||
92 | protected $following; |
||
93 | |||
94 | /** |
||
95 | * @var DateTimeInterface |
||
96 | */ |
||
97 | protected $created_at; |
||
98 | |||
99 | /** |
||
100 | * @var DateTimeInterface |
||
101 | */ |
||
102 | protected $updated_at; |
||
103 | |||
104 | /** |
||
105 | * @return int |
||
106 | */ |
||
107 | 4 | public function id() : int |
|
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | 4 | public function login() : string |
|
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | 4 | public function avatarUrl() : string |
|
127 | |||
128 | /** |
||
129 | * @return string |
||
130 | */ |
||
131 | 4 | public function type() : string |
|
135 | |||
136 | /** |
||
137 | * @return bool |
||
138 | */ |
||
139 | 4 | public function siteAdmin() : bool |
|
143 | |||
144 | /** |
||
145 | * @return string |
||
146 | */ |
||
147 | 4 | public function name() : string |
|
151 | |||
152 | /** |
||
153 | * @return string |
||
154 | */ |
||
155 | 4 | public function company() : string |
|
159 | |||
160 | /** |
||
161 | * @return string |
||
162 | */ |
||
163 | 4 | public function blog() : string |
|
167 | |||
168 | /** |
||
169 | * @return string |
||
170 | */ |
||
171 | 4 | public function location() : string |
|
175 | |||
176 | /** |
||
177 | * @return string |
||
178 | */ |
||
179 | 4 | public function email() : string |
|
183 | |||
184 | /** |
||
185 | * @return bool |
||
186 | */ |
||
187 | 4 | public function hireable() : bool |
|
191 | |||
192 | /** |
||
193 | * @return string |
||
194 | */ |
||
195 | 4 | public function bio() : string |
|
199 | |||
200 | /** |
||
201 | * @return string |
||
202 | */ |
||
203 | 4 | public function publicRepos() : string |
|
207 | |||
208 | /** |
||
209 | * @return string |
||
210 | */ |
||
211 | 4 | public function publicGists() : string |
|
215 | |||
216 | /** |
||
217 | * @return string |
||
218 | */ |
||
219 | 4 | public function followers() : string |
|
223 | |||
224 | /** |
||
225 | * @return string |
||
226 | */ |
||
227 | 4 | public function following() : string |
|
231 | |||
232 | /** |
||
233 | * @return DateTimeInterface |
||
234 | */ |
||
235 | public function createdAt() : DateTimeInterface |
||
239 | |||
240 | /** |
||
241 | * @return DateTimeInterface |
||
242 | */ |
||
243 | public function updatedAt() : DateTimeInterface |
||
247 | |||
248 | public function repository(string $repository) |
||
251 | } |
||
252 |