| 1 | <?php |
||
| 14 | class Config |
||
| 15 | { |
||
| 16 | /** @var string */ |
||
| 17 | private $commitAuto; |
||
| 18 | |||
| 19 | /** @var string|null */ |
||
| 20 | private $commitBinFile; |
||
| 21 | |||
| 22 | /** @var string */ |
||
| 23 | private $commitMessage; |
||
| 24 | |||
| 25 | /** @var string[] */ |
||
| 26 | private $gitlabHosts; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param string $commitAuto |
||
| 30 | * @param string|null $commitBinFile |
||
| 31 | * @param string $commitMessage |
||
| 32 | * @param string[] $gitlabHosts |
||
| 33 | */ |
||
| 34 | 26 | public function __construct($commitAuto, $commitBinFile, $commitMessage, array $gitlabHosts) |
|
| 41 | |||
| 42 | /** |
||
| 43 | * @return string |
||
| 44 | */ |
||
| 45 | 24 | public function getCommitAuto() |
|
| 49 | |||
| 50 | /** |
||
| 51 | * @return string|null |
||
| 52 | */ |
||
| 53 | 20 | public function getCommitBinFile() |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @return string |
||
| 60 | */ |
||
| 61 | 6 | public function getCommitMessage() |
|
| 65 | |||
| 66 | /** |
||
| 67 | * @return string[] |
||
| 68 | */ |
||
| 69 | 26 | public function getGitlabHosts() |
|
| 73 | } |
||
| 74 |