/** * {@inheritdoc} */ public function update($entity) { throw CacheException::updateReadOnlyEntity(ClassUtils::getClass($entity)); }