Store item into apc memory.

@param      $key
@param      $value
@param null $minute

@return mixed
170771
public function store($key, $value, $minute = null)
    {
        return $this->apc->store($key, $value, $minute = null);
    }
274469
public function store($cacheKey, $value, $minutes = 30)
    {
        $key = array_search($cacheKey, $this->cachedKeys);

        if ($key == false)
        {
            do
            {
                $key = uniqid();
            }
            while ($this->cache->has($key));

            $this->cachedKeys[$key] = $cacheKey;
            $this->storeCachedKeys();
        }

        $this->cache->put($key, $value, $minutes);
    }
856803
public function remember($key, $minutes, Closure $callback)
	{
		// If the item exists in the cache we will just return this immediately
		// otherwise we will execute the given Closure and cache the result
		// of that execution for the given number of minutes in storage.
		if ($this->has($key)) return $this->get($key);

		$this->put($key, $value = $callback(), $minutes);

		return $value;
	}
844
public function put($key, $value, $minutes) {
        $this->cache[$key] = [
            'value' => $value,
            'ttl'   => $this->getNow() + ($minutes * 60),
        ];
    }
1045343
public function add($key, $value, $minutes)
	{
		trigger_error('XCache add method is not monatomic. Please use another cache storage.');

		$key = $this->id($key);

		if (xcache_isset($key))
		{
			return false;
		}

		return $this->put($key, $value, $minutes * 60);
	}
118137
public function put($key, $value, $minutes)
	{
		$this->memcache->set($this->prefix.$key, $value, false, $minutes * 60);
	}
123017
public function put($key, $value, $minutes)
    {
        if ($minutes <= 0) {
            return;
        }

        $value = $this->expiration($minutes) . serialize($value);

        if (true === $this->has($key)) {
            return dba_replace($key, $value, $this->dba);
        }

        return dba_insert($key, $value, $this->dba);
    }
779506
public function put($key, $value, $minutes)
	{
		$value = is_numeric($value) ? $value : serialize($value);

		$this->connection()->set($this->prefix.$key, $value);

		$this->connection()->expire($this->prefix.$key, $minutes * 60);
	}
615022
public function put($key, $value, $minutes)
    {
        return $this->memcache->set($this->key . $key, $value, $minutes * 60);
    }
509687
public function put($key, $value, $minutes = null)
    {
        $this->pushStandardKeys($this->tags->getNamespace(), $key);

        parent::put($key, $value, $minutes);
    }
890784
public function put($key, $value, $seconds)
    {
        return $this->memcached->set(
            $this->prefix.$key, $value, $this->calculateExpiration($seconds)
        );
    }
803222
public function put($key, $value, $ttl = null)
    {
        $k = $this->hash($key);
        if (isset($this->cache[$k])) {
            $item = $this->cache[$k];
            $item->setValue($value);
            if ($ttl !== null) {
                $item->expire = microtime(true) + $ttl;
            }
            return $item;
        }
        $item = new Item($value);
        if ($ttl !== null) {
            $item->expire = microtime(true) + $ttl;
        }
        $this->cache[$k] = $item;
        $s = sizeof($this->cache);
        if ($s > $this->maxCacheSize + $this->capWindow) {
            uasort($this->cache, $this->sorter);
            for (; $s > $this->maxCacheSize; --$s) {
                array_pop($this->cache);
            }
        }
        return $item;
    }
1086634
public function put($key, $value, $seconds)
    {
        $this->ensureCacheDirectoryExists($path = $this->path($key));

        $result = $this->files->put(
            $path, $this->expiration($seconds).serialize($value), true
        );

        return $result !== false && $result > 0;
    }
222309
public function add($key, $value, $minutes)
    {
        return $this->memcached->add($this->prefix.$key, $value, $this->toTimestamp($minutes));
    }
1143607
public function set($key, $value, $timeToLive = null) {
		
		if ($this->useFallback) {
			$filename = $this->getFileName($key);
			//$this->log->trace("Storing value in cache: key '$key', value '".var_export($value, true)."'");
			if ($this->log) {
				$this->log->trace("Storing value in cache: key '$key'");
			}
			
			if (!is_writable($filename)) {
				if (!file_exists($this->getDirectory())) {
					mkdir($this->getDirectory(), 0777, true);
				}
			}
			
			if ($timeToLive == null) {
				if (empty($this->defaultTimeToLive)) {
					$timeOut = 0;
				} else {
					$timeOut = time() + $this->defaultTimeToLive;
				}
			} else {
				$timeOut = time() + $timeToLive;
			}
			
			$fp = fopen($filename, "w");
			fwrite($fp, $timeOut."\n");
			fwrite($fp, serialize($value));
			fclose($fp);
			return;
		}
	
		if ($this->log) {
			$this->log->trace("Storing value in APC cache: key '$key'.");
		}
	
		if ($timeToLive == null) {
			if (empty($this->defaultTimeToLive)) {
				$timeOut = 0;
			} else {
				$timeOut = $this->defaultTimeToLive;
			}
		} else {
			$timeOut = time() + $timeToLive;
		}
	
		$ret = apc_store($key, $value, $timeOut);
		if ($ret == false) {
			if ($this->log) {
				$this->log->error("Error while caching the key '$key' with value '".var_export($value, true)."' in APC cache.");
			}
		}
	}
821466
public function put($key, $value, $minutes)
    {
        $key = $this->prefix.$key;

        $value = serialize($value);

        $expiration = $this->getTime() + (int) ($minutes * 60);

        try {
            $this->table()->insert(compact('key', 'value', 'expiration'));
        } catch (Exception $e) {
            $this->table()->where('key', $key)->update(compact('value', 'expiration'));
        }
    }
1074595
public function put($key, $value, $minutes)
  {
    wp_cache_set($key, $value, $this->getPrefix(), ceil($minutes * 60));
  }