コード例 #1
0
ファイル: ApcStore.php プロジェクト: shinichi81/laravel4demo
 /**
  * Retrieve an item from the cache by key.
  *
  * @param  string  $key
  * @return mixed
  */
 public function get($key)
 {
     $value = $this->apc->get($this->prefix . $key);
     if ($value !== false) {
         return $value;
     }
 }