/** * Put an item into the storage. * * @param string $key * @param string $data * * @return void */ public function put($key, $data) { $this->main->put($key, $data); }
/** * 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); }
/** * 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)); }