| Total Complexity | 5 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class DumperConfig extends AbstractConfig |
||
| 9 | { |
||
| 10 | public const SSH_HOST = 'ssh.host'; |
||
| 11 | public const SSH_USER = 'ssh.user'; |
||
| 12 | public const PROJECT_NAME = 'project.name'; |
||
| 13 | public const IMAGE_NAME = 'image.name'; |
||
| 14 | public const DUMP_DIRECTORY = 'dump.directory'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * @return string |
||
| 18 | */ |
||
| 19 | public function getSshHost(): string |
||
| 20 | { |
||
| 21 | return $this->get(self::SSH_HOST); |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @return string |
||
| 26 | */ |
||
| 27 | public function getSshUser(): string |
||
| 28 | { |
||
| 29 | return $this->get(self::SSH_USER); |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * @return string |
||
| 34 | */ |
||
| 35 | public function getProject(): string |
||
| 36 | { |
||
| 37 | return $this->get(self::PROJECT_NAME); |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return string |
||
| 42 | */ |
||
| 43 | public function getImageName(): string |
||
| 46 | } |
||
| 47 | |||
| 48 | /** |
||
| 49 | * @return string |
||
| 50 | */ |
||
| 51 | public function getDumpDirectory(): string |
||
| 54 | } |
||
| 55 | } |