Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
11 | abstract class AbstractConfiguration |
||
12 | { |
||
13 | private const RESERVED_SERVER_PROPERTIES = [Property::use_ssh_agent_forwarding]; |
||
14 | protected $servers; |
||
15 | protected $useSshAgentForwarding = true; |
||
16 | |||
17 | public function __construct() |
||
18 | { |
||
19 | $this->servers = new ServerRepository(); |
||
20 | } |
||
21 | |||
22 | public function server(string $sshDsn, array $roles = [Server::ROLE_APP], array $properties = []) |
||
31 | } |
||
32 | |||
33 | public function useSshAgentForwarding(bool $useIt) |
||
36 | } |
||
37 | |||
38 | abstract protected function getReservedServerProperties() : array; |
||
39 | } |
||
40 |