1 | <?php declare(strict_types=1); |
||
15 | abstract class Milestone extends AbstractResource implements MilestoneInterface |
||
16 | { |
||
17 | /** |
||
18 | * @var int |
||
19 | */ |
||
20 | protected $id; |
||
21 | |||
22 | /** |
||
23 | * @var int |
||
24 | */ |
||
25 | protected $number; |
||
26 | |||
27 | /** |
||
28 | * @var string |
||
29 | */ |
||
30 | protected $state; |
||
31 | |||
32 | /** |
||
33 | * @var string |
||
34 | */ |
||
35 | protected $title; |
||
36 | |||
37 | /** |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $description; |
||
41 | |||
42 | /** |
||
43 | * @var User |
||
44 | */ |
||
45 | protected $creator; |
||
46 | |||
47 | /** |
||
48 | * @var int |
||
49 | */ |
||
50 | protected $open_issues; |
||
51 | |||
52 | /** |
||
53 | * @var int |
||
54 | */ |
||
55 | protected $closed_issues; |
||
56 | |||
57 | /** |
||
58 | * @var string |
||
59 | */ |
||
60 | protected $url; |
||
61 | |||
62 | /** |
||
63 | * @return int |
||
64 | */ |
||
65 | public function id(): int |
||
69 | |||
70 | /** |
||
71 | * @return int |
||
72 | */ |
||
73 | public function number(): int |
||
77 | |||
78 | /** |
||
79 | * @return string |
||
80 | */ |
||
81 | public function state(): string |
||
85 | |||
86 | /** |
||
87 | * @return string |
||
88 | */ |
||
89 | public function title(): string |
||
93 | |||
94 | /** |
||
95 | * @return string |
||
96 | */ |
||
97 | public function description(): string |
||
101 | |||
102 | /** |
||
103 | * @return User |
||
104 | */ |
||
105 | public function creator(): User |
||
109 | |||
110 | /** |
||
111 | * @return int |
||
112 | */ |
||
113 | public function openIssues(): int |
||
117 | |||
118 | /** |
||
119 | * @return int |
||
120 | */ |
||
121 | public function closedIssues(): int |
||
125 | |||
126 | /** |
||
127 | * @return string |
||
128 | */ |
||
129 | public function url(): string |
||
133 | } |
||
134 |