1 | <?php declare(strict_types=1); |
||
12 | abstract class Commit extends AbstractResource implements CommitInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var int |
||
16 | */ |
||
17 | protected $id; |
||
18 | |||
19 | /** |
||
20 | * @var string |
||
21 | */ |
||
22 | protected $sha; |
||
23 | |||
24 | /** |
||
25 | * @var string |
||
26 | */ |
||
27 | protected $branch; |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $message; |
||
33 | |||
34 | /** |
||
35 | * @var DateTimeInterface |
||
36 | */ |
||
37 | protected $comitted_at; |
||
38 | |||
39 | /** |
||
40 | * @var string |
||
41 | */ |
||
42 | protected $author_name; |
||
43 | |||
44 | /** |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $author_email; |
||
48 | |||
49 | /** |
||
50 | * @var string |
||
51 | */ |
||
52 | protected $committer_name; |
||
53 | |||
54 | /** |
||
55 | * @var string |
||
56 | */ |
||
57 | protected $committer_email; |
||
58 | |||
59 | /** |
||
60 | * @var string |
||
61 | */ |
||
62 | protected $compare_url; |
||
63 | |||
64 | /** |
||
65 | * @return int |
||
66 | */ |
||
67 | public function id() : int |
||
71 | |||
72 | /** |
||
73 | * @return string |
||
74 | */ |
||
75 | public function sha() : string |
||
79 | |||
80 | /** |
||
81 | * @return string |
||
82 | */ |
||
83 | public function branch() : string |
||
87 | |||
88 | /** |
||
89 | * @return string |
||
90 | */ |
||
91 | public function message() : string |
||
95 | |||
96 | /** |
||
97 | * @return DateTimeInterface |
||
98 | */ |
||
99 | public function comittedAt() : DateTimeInterface |
||
103 | |||
104 | /** |
||
105 | * @return string |
||
106 | */ |
||
107 | public function authorName() : string |
||
111 | |||
112 | /** |
||
113 | * @return string |
||
114 | */ |
||
115 | public function authorEmail() : string |
||
119 | |||
120 | /** |
||
121 | * @return string |
||
122 | */ |
||
123 | public function committerName() : string |
||
127 | |||
128 | /** |
||
129 | * @return string |
||
130 | */ |
||
131 | public function committerEmail() : string |
||
135 | |||
136 | /** |
||
137 | * @return string |
||
138 | */ |
||
139 | public function compareUrl() : string |
||
143 | } |
||
144 |