1 | <?php |
||
18 | abstract class Cache extends StreamCollector implements StreamCollectorInterface, BarRenderableInterface |
||
19 | { |
||
20 | /** |
||
21 | * Write data in the datasource and clean current buffer |
||
22 | * @return mixed |
||
23 | */ |
||
24 | public function stream() |
||
30 | |||
31 | 2 | public function getDataFields() |
|
37 | |||
38 | /** |
||
39 | * The path in the final json |
||
40 | * @example |
||
41 | * path /aa/bb |
||
42 | * will be transformed to |
||
43 | * { |
||
44 | * aa : { |
||
45 | * bb: <VALUE OF RESOLVE> |
||
46 | * } |
||
47 | * } |
||
48 | * @return mixed |
||
49 | */ |
||
50 | 2 | public function getPath() |
|
54 | |||
55 | /** |
||
56 | * @return RendererInterface |
||
57 | * |
||
58 | * @throws \RuntimeException |
||
59 | */ |
||
60 | public function getRenderer() |
||
64 | } |
||
65 |