forever() public method

Store an item in the cache indefinitely.
public forever ( string $key, mixed $value )
$key string
$value mixed
Beispiel #1
0
 /**
  * Store an item in the cache indefinitely.
  *
  * @param  string $key
  * @param  mixed  $value
  *
  * @return void
  */
 public function forever($key, $value)
 {
     return $this->adapter->forever($key, $value);
 }