1 | <?php declare(strict_types=1); |
||
10 | final class RefCommand |
||
11 | { |
||
12 | /** @var string */ |
||
13 | private $repository; |
||
14 | |||
15 | /** @var string */ |
||
16 | private $ref; |
||
17 | |||
18 | /** @var string */ |
||
19 | private $commit; |
||
20 | |||
21 | /** |
||
22 | * @param string $repository |
||
23 | * @param string $ref |
||
24 | * @param string $commit |
||
25 | */ |
||
26 | public function __construct(string $repository, string $ref, string $commit) |
||
32 | |||
33 | /** |
||
34 | * @return string |
||
35 | */ |
||
36 | public function getRepository(): string |
||
40 | |||
41 | /** |
||
42 | * @return string |
||
43 | */ |
||
44 | public function getRef(): string |
||
48 | |||
49 | /** |
||
50 | * @return string |
||
51 | */ |
||
52 | public function getCommit(): string |
||
56 | } |
||
57 |