30 protected const KEY_PATHS =
'paths';
32 protected const KEY_AS_OF =
'asOf';
40 return [ self::KEY_PATHS => $paths, self::KEY_AS_OF => $asOf ];
57 final public function retrieve( $type, $entity ) {
79 final public function store( $type, $entity, array $data, $ttl ) {
80 $this->
storeMulti( $type, [ $entity => $data ], $ttl );
92 abstract public function storeMulti( $type, array $dataByEntity, $ttl );
100 abstract public function remove( $type, $entities );