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;
    }