put() public method

Store an item in the cache for a given number of minutes.
public put ( string $key, mixed $value, integer $minutes )
$key string
$value mixed
$minutes integer
Beispiel #1
0
 /**
  * Store an item in the cache for a given number of minutes.
  *
  * @param  string $key
  * @param  mixed  $value
  * @param  int    $minutes
  *
  * @return void
  */
 public function put($key, $value, $minutes)
 {
     return $this->adapter->put($key, $value, $minutes);
 }