Write an item to the cache for a given number of minutes.

<code>
// Put an item in the cache for 15 minutes
Cache::put('name', 'Robin', 15);
</code>

@param string $key
@param mixed  $value
@param int    $minutes

@return bool
422632
public function put($key, $value, $minutes)
    {
        return $this->apcu
            ? apcu_store('' . $this->key . $key, $value, (int)$minutes * 60)
            : apc_store('' . $this->key . $key, $value, (int)$minutes * 60
            );
    }
715655
public function put($key, $value, $minutes)
    {
        if ($minutes instanceof \Datetime) {
            $seconds = $minutes->getTimestamp() - time();
        } else {
            $seconds = $minutes * 60;
        }

        $this->cache->save($key, $value, $seconds);
    }
118137
public function put($key, $value, $minutes)
	{
		$this->memcache->set($this->prefix.$key, $value, false, $minutes * 60);
	}
34506
public function put($value, $minutes)
	{
		extract($this->defaults);

		$this->input->set_cookie(array(
			'name'   => $this->getKey(),
			'value'  => serialize($value),
			'expire' => $minutes,
			'domain' => $domain,
			'path'   => $path,
			'prefix' => $prefix,
			'secure' => $secure
		));
	}
505511
public function put(string $key, $value, float $minutes)
    {
        if (is_array($value)) {
            foreach ($value as $index => $document) {
                if ($document instanceof stdClass) {
                    $value[$index] = (array) $document;
                }
            }
        }

        $this->laravelCache->put($key, $value, $minutes);
    }
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);
        }
    }
712576
public function put($key, $value, $minutes)
    {
        if ((int)$minutes <= 0) {
            return null;
        }

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

        return file_put_contents($this->path . $key, $value, LOCK_EX);
    }
136
public function put($key, $value, $minutes)
    {
        $this->forever($key, $value);
        $this->redis->expire($key, $minutes * 60);
    }
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));
        }
    }
821235
public function put($key, $value, $seconds)
    {
        return (bool) $this->connection()->setex(
            $this->prefix.$key, (int) max(1, $seconds), $this->serialize($value)
        );
    }
928351
public function add($key, $value, $minutes)
	{
		return $this->engine->add($this->id($key), $value, $minutes * 60);
	}
483889
public function add($key, $value, $minutes = 0): bool
    {
        $options = ($minutes === 0) ? [] : ['expiry' => ($minutes * 60)];
        try {
            $this->bucket->insert($this->resolveKey($key), $value, $options);

            return true;
        } catch (CouchbaseException $e) {
            return false;
        }
    }
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);
	}
1059400
public function put($key, $value, $minutes = 10)
    {
        IlluminateCache::put(
            $key,
            $value,
            $this->config->get('cache.time', $minutes)
        );
    }
303798
public function put($key, $value, $minutes)
	{
		return wincache_ucache_set($this->id($key), $value, $minutes * 60);
	}
346730
public function putMany( array $values, $minutes )
	{
		foreach ( $values as $key => $value )
			$this->put( $key, $value, $minutes );
	}
1193748
public function putMany( array $values, $minutes )
	{
		$prefixedValues = [];

		foreach ( $values as $key => $value )
		{
			$prefixedValues[$this->prefix . $key] = $value;
		}

		$this->memcached->setMulti( $prefixedValues, $minutes * 60 );
	}