Prado\Data\SqlMap\TSqlMapConfig::loadCachedSqlMapManager PHP Метод

loadCachedSqlMapManager() защищенный Метод

Loads SqlMap manager from cache.
protected loadCachedSqlMapManager ( ) : TSqlMapManager
Результат TSqlMapManager SqlMap manager intance if load was successful, null otherwise.
    protected function loadCachedSqlMapManager()
    {
        if ($this->getEnableCache()) {
            $cache = $this->getApplication()->getCache();
            if ($cache !== null) {
                $manager = $cache->get($this->getCacheKey());
                if ($manager instanceof TSqlMapManager) {
                    return $manager;
                }
            }
        }
        return null;
    }