public function putTemplate($cacheKey, Template $template)
    {
        if ($template->getCacheTime() == null && !is_numeric($template->getCacheTime()))
            $template->setCacheTime($this->defaultCacheTime);

        $this->put($cacheKey, $template, (int)$template->getCacheTime());

        return true;
    }
public function putTemplate($cacheKey, Template $template)
    {
        if ($template->getCacheTime() == null && !is_numeric($template->getCacheTime()))
            $template->setCacheTime($this->defaultCacheTime);

        $this->put($cacheKey, $template, (int)$template->getCacheTime());

        return true;
    }
public function putTemplate ( $ cacheKey , Template $ template ) { if ( $ template -> getCacheTime ( ) == null && ! is_numeric ( $ template -> getCacheTime ( ) ) ) $ template -> setCacheTime ( $ this -> defaultCacheTime ) ; $ this -> put ( $ cacheKey , $ template , ( int ) $ template -> getCacheTime ( ) ) ; return true ; }
Stores the specified template to cache using the cacheKey specified.

@param string   $cacheKey The cacheKey for the Template
@param Template $template The template to store in the cache

@return true
Stores the specified template to cache using the cacheKey specified .