If the backend of the store cannot be written, a {@link WriteException}
is thrown. You should always handle this exception in your code:
php
try {
$store->clear();
} catch (WriteException $e) {
write failed
}
public clear ( ) |
public clear ( ) |