1 | <?php |
||
28 | class Driver extends DriverAbstract |
||
29 | { |
||
30 | /** |
||
31 | * Driver constructor. |
||
32 | * @param array $config |
||
33 | * @throws phpFastCacheDriverException |
||
34 | */ |
||
35 | public function __construct(array $config = []) |
||
43 | |||
44 | /** |
||
45 | * @return bool |
||
46 | */ |
||
47 | public function driverCheck() |
||
55 | |||
56 | /** |
||
57 | * @param \Psr\Cache\CacheItemInterface $item |
||
58 | * @return mixed |
||
59 | * @throws \InvalidArgumentException |
||
60 | */ |
||
61 | protected function driverWrite(CacheItemInterface $item) |
||
74 | |||
75 | /** |
||
76 | * @param \Psr\Cache\CacheItemInterface $item |
||
77 | * @return mixed |
||
78 | */ |
||
79 | protected function driverRead(CacheItemInterface $item) |
||
88 | |||
89 | /** |
||
90 | * @param \Psr\Cache\CacheItemInterface $item |
||
91 | * @return bool |
||
92 | * @throws \InvalidArgumentException |
||
93 | */ |
||
94 | protected function driverDelete(CacheItemInterface $item) |
||
105 | |||
106 | /** |
||
107 | * @return bool |
||
108 | */ |
||
109 | protected function driverClear() |
||
113 | |||
114 | /** |
||
115 | * @return bool |
||
116 | */ |
||
117 | protected function driverConnect() |
||
121 | |||
122 | /******************** |
||
123 | * |
||
124 | * PSR-6 Extended Methods |
||
125 | * |
||
126 | *******************/ |
||
127 | |||
128 | /** |
||
129 | * @return driverStatistic |
||
130 | */ |
||
131 | public function getStats() |
||
141 | } |