/** * Set a specific Cache expire time for the current context * * @param integer $ttl * @return void */ protected function _setCacheTtl($ttl = self::CACHE_DEFAULT_TTL) { $this->_context->setHeader('snippet', 'Cache-Control', sprintf(self::CACHE_CONTROL_HEADER_VALUE, intval($ttl))); }