| 1 | <?php |
||
| 25 | abstract class CacheAdapterAbstract |
||
| 26 | { |
||
| 27 | /** @var mixed */ |
||
| 28 | protected $driver; |
||
| 29 | |||
| 30 | use LazyCalls; |
||
| 31 | |||
| 32 | /** |
||
| 33 | * Driver initialization |
||
| 34 | */ |
||
| 35 | abstract protected function __construct(); |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get adapter driver |
||
| 39 | * |
||
| 40 | * @return mixed |
||
| 41 | */ |
||
| 42 | 1 | public function getDriver() |
|
| 46 | |||
| 47 | /** |
||
| 48 | * Set adapter driver |
||
| 49 | * |
||
| 50 | * @param mixed $driver |
||
| 51 | */ |
||
| 52 | 1 | public function setDriver($driver) |
|
| 56 | } |
||
| 57 |