Store an item in the cache for a given number of minutes.

@param  string  $key
@param  mixed   $value
@param  int     $minutes
@return void
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);
	}
509687
public function put($key, $value, $minutes = null)
    {
        $this->pushStandardKeys($this->tags->getNamespace(), $key);

        parent::put($key, $value, $minutes);
    }
418096
public function put($key, $value, $minutes)
        {
            $cache = $this->db()->select("entity_name = '" . md5($this->_namespace) . "' AND table_name = '" . md5($key) . "'", true);
            if (empty($cache)) {
                $cache = em($this->config->entity, $this->config->table);
            } else {
                $cache->delete();
                $cache = em($this->config->entity, $this->config->table);
            }
            $data       = serialize(($this->expiration($minutes) + time()) . '%%%%%:::::' . $value);

            $cache->setDateAdd(date('Y-m-d H:i:s'))->setEntityName(md5($this->_namespace))->setTableName(md5($key))->setTableId(999)->setData($data);
            $newCache = $cache->save();
            return $this;
        }
683147
public function put($key, $value, $minutes = null)
    {
        if (is_array($key)) {
            return $this->putMany($key, $value);
        }

        if (! is_null($minutes = $this->getMinutes($minutes))) {
            $this->store->put($this->itemKey($key), $value, $minutes);

            $this->event(new KeyWritten($key, $value, $minutes));
        }
    }
1067839
public function put($key, $value, $minutes = 525600)
    {
        $this->getCacheInstance()->put($key, $value, $minutes);

        return $value;
    }
1035487
public function put($key, $value, $minutes)
	{
		@list($group, $name) = $this->id($key);

		$dir = $this->directory . DS . $group;

		// If the folder doesn't exist try to create it
		if (!is_dir($dir))
		{
			// Make sure the index file is there
			$indexFile = $dir . DS . 'index.html';
			@mkdir($dir) && file_put_contents($indexFile, '<!DOCTYPE html><title></title>');
		}

		// Make sure the folder exists
		if (!is_dir($dir))
		{
			return false;
		}

		$this->engine->setOption('cacheDir', $this->directory . DS . $group . DS);

		return $this->engine->save($value, $name, $group);
	}
1237917
public function put($key, $value, $minutes)
    {
        if ($minutes instanceof \Datetime) {
            $seconds = $minutes->getTimestamp() - time();
        } else {
            $seconds = $minutes * 60;
        }
        $this->redis->setex($this->decorateKey($key), $seconds, $value);
    }
230771
public function put($key, $value, $minutes)
    {
        if (is_array($key) && is_array($value)) {
            $this->putMany(array_combine($key, $value), $minutes);
        } else {
            parent::put($key, $value, $minutes);
        }
    }
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);
	}
1059400
public function put($key, $value, $minutes = 10)
    {
        IlluminateCache::put(
            $key,
            $value,
            $this->config->get('cache.time', $minutes)
        );
    }
1178628
public function store($key, $data, $minutes = 1)
    {
        $data = (!is_numeric($data)) ? serialize($data) : $data;

        return $this->connection()->setex($this->prefix.$key, $minutes * 60, $data);
    }
815868
public function put($key, $value, $minutes) {
        return $this->laravel_cache_store->put($key, $value, $minutes);
    }
447465
public function add($key, $value, $minutes)
    {
        if (is_array($key) && is_array($value)) {
            return $this->addMany(array_combine($key, $value), $minutes);
        }

        return parent::add($key, $value, $minutes);
    }
661780
public function put($value, $minutes)
	{
		\Cookie::set($this->getKey(), serialize($value), $minutes * 60);
	}
572959
public function add($key, $value, $minutes)
	{
		$key = $this->id($key);
		$seconds = $minutes * 60;

		return $this->apcu ? apcu_add($key, $value, $seconds) : apc_add($key, $value, $seconds);
	}
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;
    }
647434
public function remember($minutes, $key = null)
    {
        list($this->minutes, $this->key) = [$minutes, $key];

        return $this;
    }