1 | <?php declare(strict_types=1); |
||
16 | abstract class Repository extends AbstractResource implements RepositoryInterface |
||
17 | { |
||
18 | /** |
||
19 | * @var int |
||
20 | */ |
||
21 | protected $id; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $name; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $full_name; |
||
32 | |||
33 | /** |
||
34 | * @var string |
||
35 | */ |
||
36 | protected $url; |
||
37 | |||
38 | /** |
||
39 | * @var string |
||
40 | */ |
||
41 | protected $description; |
||
42 | |||
43 | /** |
||
44 | * @var bool |
||
45 | */ |
||
46 | protected $private; |
||
47 | |||
48 | /** |
||
49 | * @var bool |
||
50 | */ |
||
51 | protected $fork; |
||
52 | |||
53 | /** |
||
54 | * @var string |
||
55 | */ |
||
56 | protected $homepage; |
||
57 | |||
58 | /** |
||
59 | * @var string |
||
60 | */ |
||
61 | protected $language; |
||
62 | |||
63 | /** |
||
64 | * @var int |
||
65 | */ |
||
66 | protected $forks_count; |
||
67 | |||
68 | /** |
||
69 | * @var int |
||
70 | */ |
||
71 | protected $stargazers_count; |
||
72 | |||
73 | /** |
||
74 | * @var int |
||
75 | */ |
||
76 | protected $watchers_count; |
||
77 | |||
78 | /** |
||
79 | * @var int |
||
80 | */ |
||
81 | protected $size; |
||
82 | |||
83 | /** |
||
84 | * @var string |
||
85 | */ |
||
86 | protected $default_branch; |
||
87 | |||
88 | /** |
||
89 | * @var int |
||
90 | */ |
||
91 | protected $open_issues_count; |
||
92 | |||
93 | /** |
||
94 | * @var bool |
||
95 | */ |
||
96 | protected $has_issues; |
||
97 | |||
98 | /** |
||
99 | * @var bool |
||
100 | */ |
||
101 | protected $has_wiki; |
||
102 | |||
103 | /** |
||
104 | * @var bool |
||
105 | */ |
||
106 | protected $has_pages; |
||
107 | |||
108 | /** |
||
109 | * @var bool |
||
110 | */ |
||
111 | protected $has_downloads; |
||
112 | |||
113 | /** |
||
114 | * @var DateTimeInterface |
||
115 | */ |
||
116 | protected $pushed_at; |
||
117 | |||
118 | /** |
||
119 | * @var DateTimeInterface |
||
120 | */ |
||
121 | protected $created_at; |
||
122 | |||
123 | /** |
||
124 | * @var DateTimeInterface |
||
125 | */ |
||
126 | protected $updated_at; |
||
127 | |||
128 | /** |
||
129 | * @var array |
||
130 | */ |
||
131 | protected $permissions; |
||
132 | |||
133 | /** |
||
134 | * @var string |
||
135 | */ |
||
136 | protected $html_url; |
||
137 | |||
138 | /** |
||
139 | * @var User |
||
140 | */ |
||
141 | protected $owner; |
||
142 | |||
143 | /** |
||
144 | * @return int |
||
145 | */ |
||
146 | 4 | public function id() : int |
|
150 | |||
151 | /** |
||
152 | * @return string |
||
153 | */ |
||
154 | 4 | public function name() : string |
|
158 | |||
159 | /** |
||
160 | * @return string |
||
161 | */ |
||
162 | 4 | public function fullName() : string |
|
166 | |||
167 | /** |
||
168 | * @return string |
||
169 | */ |
||
170 | 4 | public function url() : string |
|
174 | |||
175 | /** |
||
176 | * @return string |
||
177 | */ |
||
178 | 4 | public function description() : string |
|
182 | |||
183 | /** |
||
184 | * @return bool |
||
185 | */ |
||
186 | 4 | public function private() : bool |
|
190 | |||
191 | /** |
||
192 | * @return bool |
||
193 | */ |
||
194 | 4 | public function fork() : bool |
|
198 | |||
199 | /** |
||
200 | * @return string |
||
201 | */ |
||
202 | 4 | public function homepage() : string |
|
206 | |||
207 | /** |
||
208 | * @return string |
||
209 | */ |
||
210 | 4 | public function language() : string |
|
214 | |||
215 | /** |
||
216 | * @return int |
||
217 | */ |
||
218 | 4 | public function forksCount() : int |
|
222 | |||
223 | /** |
||
224 | * @return int |
||
225 | */ |
||
226 | 4 | public function stargazersCount() : int |
|
230 | |||
231 | /** |
||
232 | * @return int |
||
233 | */ |
||
234 | 4 | public function watchersCount() : int |
|
238 | |||
239 | /** |
||
240 | * @return int |
||
241 | */ |
||
242 | 4 | public function size() : int |
|
246 | |||
247 | /** |
||
248 | * @return string |
||
249 | */ |
||
250 | 4 | public function defaultBranch() : string |
|
254 | |||
255 | /** |
||
256 | * @return int |
||
257 | */ |
||
258 | 4 | public function openIssuesCount() : int |
|
262 | |||
263 | /** |
||
264 | * @return bool |
||
265 | */ |
||
266 | 4 | public function hasIssues() : bool |
|
270 | |||
271 | /** |
||
272 | * @return bool |
||
273 | */ |
||
274 | 4 | public function hasWiki() : bool |
|
278 | |||
279 | /** |
||
280 | * @return bool |
||
281 | */ |
||
282 | 4 | public function hasPages() : bool |
|
286 | |||
287 | /** |
||
288 | * @return bool |
||
289 | */ |
||
290 | 4 | public function hasDownloads() : bool |
|
294 | |||
295 | /** |
||
296 | * @return DateTimeInterface |
||
297 | */ |
||
298 | public function pushedAt() : DateTimeInterface |
||
302 | |||
303 | /** |
||
304 | * @return DateTimeInterface |
||
305 | */ |
||
306 | public function createdAt() : DateTimeInterface |
||
310 | |||
311 | /** |
||
312 | * @return DateTimeInterface |
||
313 | */ |
||
314 | public function updatedAt() : DateTimeInterface |
||
318 | |||
319 | /** |
||
320 | * @return array |
||
321 | */ |
||
322 | public function permissions() : array |
||
326 | |||
327 | /** |
||
328 | * @return string |
||
329 | */ |
||
330 | 4 | public function htmlUrl() : string |
|
334 | |||
335 | /** |
||
336 | * @return User |
||
337 | */ |
||
338 | public function owner() : User |
||
342 | } |
||
343 |