| 1 | <?php declare(strict_types=1);  | 
            ||
| 27 | abstract class Commit extends AbstractResource implements CommitInterface  | 
            ||
| 28 | { | 
            ||
| 29 | /**  | 
            ||
| 30 | * @var string  | 
            ||
| 31 | */  | 
            ||
| 32 | protected $url;  | 
            ||
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * @var string  | 
            ||
| 36 | */  | 
            ||
| 37 | protected $sha;  | 
            ||
| 38 | |||
| 39 | /**  | 
            ||
| 40 | * @var string  | 
            ||
| 41 | */  | 
            ||
| 42 | protected $html_url;  | 
            ||
| 43 | |||
| 44 | /**  | 
            ||
| 45 | * @var GitCommitInterface  | 
            ||
| 46 | */  | 
            ||
| 47 | protected $commit;  | 
            ||
| 48 | |||
| 49 | /**  | 
            ||
| 50 | * @var UserInterface  | 
            ||
| 51 | */  | 
            ||
| 52 | protected $author;  | 
            ||
| 53 | |||
| 54 | /**  | 
            ||
| 55 | * @var UserInterface  | 
            ||
| 56 | */  | 
            ||
| 57 | protected $comitter;  | 
            ||
| 58 | |||
| 59 | /**  | 
            ||
| 60 | * @var TreeInterface  | 
            ||
| 61 | */  | 
            ||
| 62 | protected $parents;  | 
            ||
| 63 | |||
| 64 | 4 | /**  | 
            |
| 65 | * @var Commit\File[]  | 
            ||
| 66 | 4 | */  | 
            |
| 67 | protected $files;  | 
            ||
| 68 | |||
| 69 | /**  | 
            ||
| 70 | * @return string  | 
            ||
| 71 | */  | 
            ||
| 72 | 4 | public function url(): string  | 
            |
| 76 | |||
| 77 | /**  | 
            ||
| 78 | * @return string  | 
            ||
| 79 | */  | 
            ||
| 80 | 4 | public function sha(): string  | 
            |
| 84 | |||
| 85 | /**  | 
            ||
| 86 | * @return string  | 
            ||
| 87 | */  | 
            ||
| 88 | public function htmlUrl(): string  | 
            ||
| 92 | |||
| 93 | /**  | 
            ||
| 94 | * @return GitCommitInterface  | 
            ||
| 95 | */  | 
            ||
| 96 | public function commit(): GitCommitInterface  | 
            ||
| 100 | |||
| 101 | /**  | 
            ||
| 102 | * @return UserInterface  | 
            ||
| 103 | */  | 
            ||
| 104 | public function author(): UserInterface  | 
            ||
| 108 | |||
| 109 | /**  | 
            ||
| 110 | * @return UserInterface  | 
            ||
| 111 | */  | 
            ||
| 112 | public function comitter(): UserInterface  | 
            ||
| 116 | |||
| 117 | /**  | 
            ||
| 118 | * @return TreeInterface[]  | 
            ||
| 119 | */  | 
            ||
| 120 | public function parents(): array  | 
            ||
| 124 | |||
| 125 | /**  | 
            ||
| 126 | * @return Commit\File[]  | 
            ||
| 127 | */  | 
            ||
| 128 | public function files(): array  | 
            ||
| 132 | }  | 
            ||
| 133 |