public function clearCache() { $cache = $this->getApplication()->getCache(); if ($cache !== null) { $cache->delete($this->getCacheKey()); } }