| 1 | <?php declare(strict_types=1); |
||
| 11 | final class CompareCommitsCommand |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var RepositoryInterface |
||
| 15 | */ |
||
| 16 | private $repository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | private $base; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @var string |
||
| 25 | */ |
||
| 26 | private $head; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param RepositoryInterface $repository |
||
| 30 | * @param string $base |
||
| 31 | * @param string $head |
||
| 32 | */ |
||
| 33 | public function __construct(RepositoryInterface $repository, string $base, string $head) |
||
| 39 | |||
| 40 | public function getRepository(): RepositoryInterface |
||
| 44 | |||
| 45 | public function getBase(): string |
||
| 49 | |||
| 50 | public function getHead(): string |
||
| 54 | } |
||
| 55 |