2 namespace Consolidation\AnnotatedCommand\Cache;
5 * Documentation interface.
7 * Clients that use AnnotatedCommandFactory::setDataStore()
8 * are encouraged to provide a data store that implements
11 * This is not currently required to allow clients to use a generic cache
12 * store that does not itself depend on the annotated-command library.
13 * This might be required in a future version.
15 interface SimpleCacheInterface
18 * Test for an entry from the cache
22 public function has($key);
24 * Get an entry from the cache
28 public function get($key);
30 * Store an entry in the cache
34 public function set($key, $data);