public function setCacheKey($key)
    {
        $key = preg_replace('/[^\da-z]/i', '', $key);
        if (!empty($key)) {
            $this->cacheKey = $key;
        }
    }
public function setCacheKey($key)
    {
        $key = preg_replace('/[^\da-z]/i', '', $key);
        if (!empty($key)) {
            $this->cacheKey = $key;
        }
    }
public function setCacheKey ( $ key ) { $ key = preg_replace ( '/[^\da-z]/i' , '' , $ key ) ; if ( ! empty ( $ key ) ) { $ this -> cacheKey = $ key ; } }
Manually set a name for the cached file instead of using the md5 of the template name.

@param string $key
@return void
Manually set a name for the cached file instead of using the md5 of the template name .