| 1 | <?php |
||
| 18 | class YiiCache extends AbstractCache |
||
| 19 | { |
||
| 20 | /** |
||
| 21 | * @var Cache |
||
| 22 | */ |
||
| 23 | protected $yiiCache; |
||
| 24 | /** |
||
| 25 | * @var string |
||
| 26 | */ |
||
| 27 | protected $key; |
||
| 28 | /** |
||
| 29 | * @var integer |
||
| 30 | */ |
||
| 31 | protected $duration; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param Cache $yiiCache |
||
| 35 | * @param string $key |
||
| 36 | * @param integer $duration |
||
| 37 | */ |
||
| 38 | public function __construct(Cache $yiiCache, $key = 'flysystem', $duration = 0) |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @inheritdoc |
||
| 47 | */ |
||
| 48 | public function load() |
||
| 56 | |||
| 57 | /** |
||
| 58 | * @inheritdoc |
||
| 59 | */ |
||
| 60 | public function save() |
||
| 64 | } |
||
| 65 |