/** * Get block cache life time * * @return int */ protected function getCacheLifetime() { return parent::getCacheLifetime() ?: 3600; }
/** * Get block cache life time * * @return int */ protected function getCacheLifetime() { return parent::hasCacheLifetime() ? parent::getCacheLifetime() : self::DEFAULT_LIFETIME; }