public function getResultCacheDriver()
    {
        if (!$this->resultCacheDriver instanceof CacheProvider) {
            $this->resultCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('result_cache_namespace'),
                $this->getOption('result_cache_driver')
            );
        }

        return $this->resultCacheDriver;
    }
public function getResultCacheDriver()
    {
        if (!$this->resultCacheDriver instanceof CacheProvider) {
            $this->resultCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('result_cache_namespace'),
                $this->getOption('result_cache_driver')
            );
        }

        return $this->resultCacheDriver;
    }
public function getResultCacheDriver ( ) { if ( ! $ this -> resultCacheDriver instanceof CacheProvider ) { $ this -> resultCacheDriver = $ this -> getCacheDriver ( ( string ) $ this -> getOption ( 'result_cache_namespace' ) , $ this -> getOption ( 'result_cache_driver' ) ) ; } return $ this -> resultCacheDriver ; }
Retrieve result cache driver.

@throws \InvalidArgumentException

@return CacheProvider
Retrieve result cache driver .