src/xPDO/xPDO.php
public function getCacheManager($class= 'xPDO\\Cache\\xPDOCacheManager', $options = array('path' => XPDO_CORE_PATH, 'ignorePkg' => true)) {
        if ($this->cacheManager === null || !is_object($this->cacheManager) || !($this->cacheManager instanceof $class)) {
            if ($this->cacheManager= new $class($this, $options)) {
                $this->_cacheEnabled= true;
            }
        }
        return $this->cacheManager;
    }
public function getCacheManager($class= 'xPDO\\Cache\\xPDOCacheManager', $options = array('path' => XPDO_CORE_PATH, 'ignorePkg' => true)) {
        if ($this->cacheManager === null || !is_object($this->cacheManager) || !($this->cacheManager instanceof $class)) {
            if ($this->cacheManager= new $class($this, $options)) {
                $this->_cacheEnabled= true;
            }
        }
        return $this->cacheManager;
    }
public function getCacheManager ( $ class = 'xPDO\\Cache\\xPDOCacheManager' , $ options = array ( 'path' => XPDO_CORE_PATH , 'ignorePkg' => true ) ) { if ( $ this -> cacheManager === null || ! is_object ( $ this -> cacheManager ) || ! ( $ this -> cacheManager instanceof $ class ) ) { if ( $ this -> cacheManager = new $ class ( $ this , $ options ) ) { $ this -> _cacheEnabled = true ; } } return $ this -> cacheManager ; }
Gets an xPDOCacheManager instance.

This class is responsible for handling all types of caching operations for the xPDO core.

@param string $class Optional name of a derivative xPDOCacheManager class.
@param array $options An array of options for the cache manager instance; valid options include:
- path = Optional root path for looking up the $class.
- ignorePkg = If false and you do not specify a path, you can look up custom xPDOCacheManager
derivatives in declared packages.
@return Cache\xPDOCacheManager The xPDOCacheManager for this xPDO instance.
Gets an xPDOCacheManager instance .