Mongolid\Util\CacheComponentInterface::put PHP Méthode

put() public méthode

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.
Résultat void
    public function put(string $key, $value, float $minutes);
CacheComponentInterface