public function processTypo($text) { $key = $this->cacheKey($text); if (!($html = $this->cache->load($key))) { $html = parent::processTypo($text); $this->cache->save($html); } return $html; }