1 | <?php declare(strict_types=1); |
||
10 | abstract class EmptyCommit implements CommitInterface, EmptyResourceInterface |
||
11 | { |
||
12 | /** |
||
13 | * @return string |
||
14 | */ |
||
15 | public function url() : string |
||
19 | |||
20 | /** |
||
21 | * @return string |
||
22 | */ |
||
23 | public function sha() : string |
||
27 | |||
28 | /** |
||
29 | * @return string |
||
30 | */ |
||
31 | public function htmlUrl() : string |
||
35 | |||
36 | /** |
||
37 | * @return GitCommitInterface |
||
38 | */ |
||
39 | public function commit() : GitCommitInterface |
||
43 | |||
44 | /** |
||
45 | * @return UserInterface |
||
46 | */ |
||
47 | public function author() : UserInterface |
||
51 | |||
52 | /** |
||
53 | * @return UserInterface |
||
54 | */ |
||
55 | public function comitter() : UserInterface |
||
59 | |||
60 | /** |
||
61 | * @return TreeInterface |
||
62 | */ |
||
63 | public function parents() : TreeInterface |
||
67 | } |
||
68 |