Prado\Data\SqlMap\TSqlMapManager::getCacheModel PHP Method

getCacheModel() public method

Gets a cache by name
public getCacheModel ( $name ) : TSqlMapCacheModel
return Prado\Data\SqlMap\Configuration\TSqlMapCacheModel the cache object.
    public function getCacheModel($name)
    {
        if (!$this->_cacheModels->contains($name)) {
            throw new TSqlMapConfigurationException('sqlmap_unable_to_find_cache_model', $name);
        }
        return $this->_cacheModels[$name];
    }