예제 #1
0
 /**
  * Cache a value under a given key for a certain amount of minutes.
  *
  * @param string $key
  * @param mixed  $value
  * @param int    $minutes
  *
  * @return void
  */
 protected function cache($key, $value, $minutes)
 {
     $this->cache->add($this->key($key), $value, $minutes);
 }