| 1 | <?php |
||
| 9 | abstract class AbstractKeyValueStorage |
||
| 10 | { |
||
| 11 | /** @var string */ |
||
| 12 | private $key; |
||
| 13 | |||
| 14 | /** @var string */ |
||
| 15 | private $value; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @param string $key |
||
| 19 | * @param string $value |
||
| 20 | */ |
||
| 21 | public function __construct(string $key, string $value) |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @return string |
||
| 29 | */ |
||
| 30 | public function getKey(): string |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @return string |
||
| 37 | */ |
||
| 38 | public function getValue(): string |
||
| 42 | } |
||
| 43 |