public function processTypo($text)
 {
     $key = $this->cacheKey($text);
     if (!($html = $this->cache->load($key))) {
         $html = parent::processTypo($text);
         $this->cache->save($html);
     }
     return $html;
 }
예제 #2
0
 public function typo()
 {
     return $this->texy->processTypo($this->content);
 }