getValue() protected method

This is the implementation of the method declared in the parent class.
protected getValue ( string $key ) : string | false
$key string a unique key identifying the cached value
return string | false the value stored in cache, false if the value is not in the cache or expired.
コード例 #1
0
ファイル: Base64Cache.php プロジェクト: vecherskyy/dom
 protected function getValue($key)
 {
     $value = base64_decode(parent::getValue($key));
     return $value;
 }
コード例 #2
0
ファイル: BZCache.php プロジェクト: scorp7mix/yii
 protected function getValue($key)
 {
     $value = bzdecompress(parent::getValue($key));
     return $value;
 }