public function getQueryCacheDriver()
    {
        if (!$this->queryCacheDriver instanceof CacheProvider) {
            $this->queryCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('query_cache_namespace'),
                $this->getOption('query_cache_driver')
            );
        }

        return $this->queryCacheDriver;
    }
public function getQueryCacheDriver()
    {
        if (!$this->queryCacheDriver instanceof CacheProvider) {
            $this->queryCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('query_cache_namespace'),
                $this->getOption('query_cache_driver')
            );
        }

        return $this->queryCacheDriver;
    }
public function getQueryCacheDriver ( ) { if ( ! $ this -> queryCacheDriver instanceof CacheProvider ) { $ this -> queryCacheDriver = $ this -> getCacheDriver ( ( string ) $ this -> getOption ( 'query_cache_namespace' ) , $ this -> getOption ( 'query_cache_driver' ) ) ; } return $ this -> queryCacheDriver ; }
Retrieve query cache driver.

@throws \InvalidArgumentException

@return CacheProvider
Retrieve query cache driver .