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 | /** @var int */ |
||
29 | private $postUpdatePriority; |
||
30 | |||
31 | /** |
||
32 | * @param string $commitAuto |
||
33 | * @param string|null $commitBinFile |
||
34 | * @param string $commitMessage |
||
35 | * @param string[] $gitlabHosts |
||
36 | * @param int $postUpdatePriority |
||
37 | */ |
||
38 | 30 | public function __construct($commitAuto, $commitBinFile, $commitMessage, array $gitlabHosts, $postUpdatePriority) |
|
46 | |||
47 | /** |
||
48 | * @return string |
||
49 | */ |
||
50 | 26 | public function getCommitAuto() |
|
54 | |||
55 | /** |
||
56 | * @return string|null |
||
57 | */ |
||
58 | 22 | public function getCommitBinFile() |
|
62 | |||
63 | /** |
||
64 | * @return string |
||
65 | */ |
||
66 | 6 | public function getCommitMessage() |
|
70 | |||
71 | /** |
||
72 | * @return string[] |
||
73 | */ |
||
74 | 30 | public function getGitlabHosts() |
|
78 | |||
79 | /** |
||
80 | * @return int |
||
81 | */ |
||
82 | 30 | public function getPostUpdatePriority() |
|
86 | } |
||
87 |