File tree Expand file tree Collapse file tree 1 file changed +39
-1
lines changed
Expand file tree Collapse file tree 1 file changed +39
-1
lines changed Original file line number Diff line number Diff line change 1111
1212namespace Cache \AdapterBundle ;
1313
14+ use Psr \Cache \CacheItemInterface ;
15+ use Psr \Cache \CacheItemPoolInterface ;
16+
1417/**
1518 * This client is used as a placeholder for the dependency injection. It will never be used.
1619 *
1720 * @author Tobias Nyholm <[email protected] > 1821 */
19- class DummyAdapter
22+ class DummyAdapter implements CacheItemPoolInterface
2023{
24+ public function getItem ($ key )
25+ {
26+ }
27+
28+ public function getItems (array $ keys = [])
29+ {
30+ }
31+
32+ public function hasItem ($ key )
33+ {
34+ }
35+
36+ public function clear ()
37+ {
38+ }
39+
40+ public function deleteItem ($ key )
41+ {
42+ }
43+
44+ public function deleteItems (array $ keys )
45+ {
46+ }
47+
48+ public function save (CacheItemInterface $ item )
49+ {
50+ }
51+
52+ public function saveDeferred (CacheItemInterface $ item )
53+ {
54+ }
55+
56+ public function commit ()
57+ {
58+ }
2159}
You can’t perform that action at this time.
0 commit comments