| 1 | <?php namespace AdammBalogh\KeyValueStore; |
||
| 10 | class KeyValueStore implements KeyValueStoreInterface |
||
| 11 | { |
||
| 12 | use AdapterTrait, KeyTrait, ValueTrait, ServerTrait { |
||
| 13 | AdapterTrait::getAdapter insteadof KeyTrait; |
||
| 14 | AdapterTrait::getAdapter insteadof ValueTrait; |
||
| 15 | AdapterTrait::getAdapter insteadof ServerTrait; |
||
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var AdapterInterface |
||
| 20 | */ |
||
| 21 | protected $adapter; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param AdapterInterface $adapter |
||
| 25 | */ |
||
| 26 | public function __construct(AdapterInterface $adapter) |
||
| 30 | } |
||
| 31 |