public function getCacheLifetime()
    {
        $lifetime = $this->getContainer('config')->get('rinvex.repository.cache.lifetime');

        // Return value even if it's zero "0" (which means cache is disabled)
        return ! is_null($this->cacheLifetime) ? $this->cacheLifetime : $lifetime;
    }
public function getCacheLifetime()
    {
        $lifetime = $this->getContainer('config')->get('rinvex.repository.cache.lifetime');

        // Return value even if it's zero "0" (which means cache is disabled)
        return ! is_null($this->cacheLifetime) ? $this->cacheLifetime : $lifetime;
    }
public function getCacheLifetime ( ) { $ lifetime = $ this -> getContainer ( 'config' ) -> get ( 'rinvex.repository.cache.lifetime' ) ; // Return value even if it's zero "0" (which means cache is disabled) return ! is_null ( $ this -> cacheLifetime ) ? $ this -> cacheLifetime : $ lifetime ; }
Get the repository cache lifetime.

@return float|int
Get the repository cache lifetime .