| 1 | <?php |
||
| 5 | class ConnectionConfiguration |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * @var string |
||
| 9 | */ |
||
| 10 | protected $title; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $vaultAdapter; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @var string |
||
| 19 | */ |
||
| 20 | protected $lockAdapter; |
||
| 21 | |||
| 22 | /** |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | protected $settings; |
||
| 26 | |||
| 27 | public function __construct(string $vaultAdapter, string $lockAdapter) |
||
| 33 | |||
| 34 | public function getTitle(): string |
||
| 38 | |||
| 39 | public function setTitle(string $title): ConnectionConfiguration |
||
| 45 | |||
| 46 | public function getVaultAdapter(): string |
||
| 50 | |||
| 51 | public function setVaultAdapter(string $vaultAdapter): ConnectionConfiguration |
||
| 57 | |||
| 58 | public function getLockAdapter(): string |
||
| 62 | |||
| 63 | public function setLockAdapter(string $lockAdapter): ConnectionConfiguration |
||
| 69 | |||
| 70 | public function getSettings(): array |
||
| 74 | |||
| 75 | public function getSetting(string $name) |
||
| 79 | |||
| 80 | public function setSettings(array $settings): ConnectionConfiguration |
||
| 86 | |||
| 87 | public function setSetting(string $name, $value): ConnectionConfiguration |
||
| 93 | } |
||
| 94 |