public function getHydratorCacheDriver()
    {
        if (!$this->hydratorCacheDriver instanceof CacheProvider) {
            $this->hydratorCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('hydrator_cache_namespace'),
                $this->getOption('hydrator_cache_driver')
            );
        }

        return $this->hydratorCacheDriver;
    }
public function getHydratorCacheDriver()
    {
        if (!$this->hydratorCacheDriver instanceof CacheProvider) {
            $this->hydratorCacheDriver = $this->getCacheDriver(
                (string) $this->getOption('hydrator_cache_namespace'),
                $this->getOption('hydrator_cache_driver')
            );
        }

        return $this->hydratorCacheDriver;
    }
public function getHydratorCacheDriver ( ) { if ( ! $ this -> hydratorCacheDriver instanceof CacheProvider ) { $ this -> hydratorCacheDriver = $ this -> getCacheDriver ( ( string ) $ this -> getOption ( 'hydrator_cache_namespace' ) , $ this -> getOption ( 'hydrator_cache_driver' ) ) ; } return $ this -> hydratorCacheDriver ; }
Retrieve hydrator cache driver.

@throws \InvalidArgumentException

@return CacheProvider
Retrieve hydrator cache driver .