Phalcon\Cache\Backend\Wincache::get PHP Method

get() public method

public get ( string $keyName, integer $lifetime = null ) : mixed | null
$keyName string
$lifetime integer
return mixed | null
    public function get($keyName, $lifetime = null)
    {
        $prefixedKey = $this->getPrefixedIdentifier($keyName);
        $cachedContent = wincache_ucache_get($prefixedKey, $success);
        $this->_lastKey = $prefixedKey;
        if ($success === false) {
            return null;
        }
        return $this->_frontend->afterRetrieve($cachedContent);
    }