Mongolid\Util\CacheComponentInterface::put PHP Method

put() public method

Store an item in the cache for a given number of minutes.
public put ( string $key, mixed $value, float $minutes ) : void
$key string Cache key of the item.
$value mixed Value being stored in cache.
$minutes float Cache ttl.
return void
    public function put(string $key, $value, float $minutes);
CacheComponentInterface