1 | <?php |
||
10 | class GithubCommitId implements Identifier |
||
11 | { |
||
12 | /** @var GithubRepoId */ |
||
13 | private $githubRepoId; |
||
14 | /** @var GithubCommitSha */ |
||
15 | private $commitSha; |
||
16 | |||
17 | /** |
||
18 | * BranchId constructor. |
||
19 | * |
||
20 | * @param GithubRepoId $githubRepoId |
||
21 | * @param GithubCommitSha $commitSha |
||
22 | */ |
||
23 | public function __construct(GithubRepoId $githubRepoId, GithubCommitSha $commitSha) |
||
28 | |||
29 | /** |
||
30 | * @return string |
||
31 | */ |
||
32 | public function __toString() |
||
36 | } |
||
37 |