if (!
$ok && !
is_writable($this->directory
)) { throw new CacheException(sprintf('Cache directory is not writable (%s).',
$this->directory
));
} return $ok;
} protected function doClear(string
$namespace): bool
{ $this->values =
[];
return $this->
doCommonClear($namespace);
} protected function doDelete(array
$ids): bool
{ foreach ($ids as $id) { unset($this->values
[$id]);
} return $this->
doCommonDelete($ids);
}