If the backend of the store cannot be read, a {@link ReadException}
is thrown. You should always handle this exception in your code:
php
try {
foreach ($store->keys() as $key) {
...
}
} catch (ReadException $e) {
read failed
}
/** * {@inheritdoc} */ public function keys() { return $this->store->keys(); }