1 | <?php |
||
12 | class StashAdapter implements CacheAdapterInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var Pool |
||
16 | */ |
||
17 | private $pool; |
||
18 | |||
19 | /** |
||
20 | * CacheReader constructor. |
||
21 | */ |
||
22 | public function __construct(Pool $pool) |
||
29 | |||
30 | public function readFromCache(String $platform, String $pageName): TldrPage |
||
47 | |||
48 | public function writeToCache(TldrPage $page) |
||
54 | |||
55 | public function deleteFromCache(String $platform, String $pageName) |
||
62 | |||
63 | |||
64 | /** |
||
65 | * Flush the stash cache |
||
66 | * |
||
67 | * @return void |
||
68 | */ |
||
69 | public function flushCache() |
||
73 | } |
||
74 |