Exemple #1
0
 /**
  * Put an item into the storage.
  *
  * @param string $key
  * @param string $data
  *
  * @return void
  */
 public function put($key, $data)
 {
     $this->main->put($key, $data);
 }
Exemple #2
0
 /**
  * Put an item into the storage.
  *
  * @param string $key
  * @param string $data
  *
  * @return void
  */
 public function put($key, $data)
 {
     $this->cache->put("store.{$key}", $data, 30);
     $this->store->put($key, $data);
 }
Exemple #3
0
 /**
  * Put an item into the storage.
  *
  * @param string $key
  * @param string $data
  *
  * @return void
  */
 public function put($key, $data)
 {
     $this->store->put($key, $this->encrypter->encrypt($data));
 }
 /**
  * Put an item into the storage.
  *
  * @param string $key
  * @param string $data
  *
  * @return void
  */
 public function put($key, $data)
 {
     $this->store->put($key, $this->compressor->compress($data));
 }