1 | <?php |
||
8 | class FileStorageDriver implements CacheDriverInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $cachePath; |
||
14 | |||
15 | /** |
||
16 | * @param array $options |
||
17 | * |
||
18 | * @throws FileStorageMisconfiguration |
||
19 | */ |
||
20 | public function __construct(array $options = null) |
||
33 | |||
34 | /** |
||
35 | * @param string $key |
||
36 | * |
||
37 | * @return bool |
||
38 | */ |
||
39 | public function fetch($key) |
||
51 | |||
52 | /** |
||
53 | * @param string $key |
||
54 | * |
||
55 | * @return bool |
||
56 | */ |
||
57 | public function remove($key) |
||
65 | |||
66 | /** |
||
67 | * @param string $key |
||
68 | * @param array $data |
||
69 | * |
||
70 | * @return bool |
||
71 | */ |
||
72 | public function store($key, $data, $expire = 3600) |
||
76 | } |
||
77 |