Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | class Config |
||
22 | { |
||
23 | /** |
||
24 | * Docker command to execute |
||
25 | * |
||
26 | * @var string |
||
27 | */ |
||
28 | private $command; |
||
29 | |||
30 | /** |
||
31 | * Custom Path to captainhook binary to execute |
||
32 | * @var string |
||
33 | */ |
||
34 | private $path; |
||
35 | |||
36 | /** |
||
37 | * Config constructor. |
||
38 | * |
||
39 | * @param string $command |
||
40 | * @param string $path |
||
41 | */ |
||
42 | public function __construct(string $command, string $path) |
||
43 | { |
||
44 | $this->command = $command; |
||
45 | $this->path = $path; |
||
46 | } |
||
47 | |||
48 | /** |
||
49 | * @return string |
||
50 | */ |
||
51 | public function getDockerCommand(): string |
||
54 | } |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getPathToCaptainHookExecutable(): string |
||
64 |