Prado\Data\SqlMap\Configuration\TSqlMapCacheModel::get PHP Метод

get() публичный Метод

public get ( $key ) : mixed
Результат mixed cached value.
    public function get($key)
    {
        if ($key instanceof TSqlMapCacheKey) {
            $key = $key->getHash();
        }
        //if flush ?
        $value = $this->_cache->get($key);
        $this->_requests++;
        if ($value !== null) {
            $this->_hits++;
        }
        return $value;
    }