1 | <?php declare(strict_types=1); |
||
11 | abstract class Account extends AbstractResource implements AccountInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var int |
||
15 | */ |
||
16 | protected $id; |
||
17 | |||
18 | /** |
||
19 | * @var string |
||
20 | */ |
||
21 | protected $name; |
||
22 | |||
23 | /** |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $type; |
||
27 | |||
28 | /** |
||
29 | * @var string |
||
30 | */ |
||
31 | protected $login; |
||
32 | |||
33 | /** |
||
34 | * @var int |
||
35 | */ |
||
36 | protected $repos_count; |
||
37 | |||
38 | /** |
||
39 | * @return int |
||
40 | */ |
||
41 | public function id() : int |
||
45 | |||
46 | /** |
||
47 | * @return string |
||
48 | */ |
||
49 | public function name() : string |
||
53 | |||
54 | /** |
||
55 | * @return string |
||
56 | */ |
||
57 | public function type() : string |
||
61 | |||
62 | /** |
||
63 | * @return string |
||
64 | */ |
||
65 | public function login() : string |
||
69 | |||
70 | /** |
||
71 | * @return int |
||
72 | */ |
||
73 | public function reposCount() : int |
||
77 | } |
||
78 |