original_string: public function store($key, $value, $expiry=0) {
  		if ($expiry == 0) {
  			$expiry = $this->expiry;
  		}
  		$entry = new CacheItem();
  
  		$entry->value = serialize($value);
  		$entry->expireAt = time() + $expiry;
  		$data = serialize($entry);
  
  		$this->store->store($key, $data);
  
  		$this->items[$key] = $entry;
  	}
code: public function store($key, $value, $expiry=0) {
  		if ($expiry == 0) {
  			$expiry = $this->expiry;
  		}
  		$entry = new CacheItem();
  
  		$entry->value = serialize($value);
  		$entry->expireAt = time() + $expiry;
  		$data = serialize($entry);
  
  		$this->store->store($key, $data);
  
  		$this->items[$key] = $entry;
  	}
code_tokens: public function store ( $ key , $ value , $ expiry = 0 ) { if ( $ expiry == 0 ) { $ expiry = $ this -> expiry ; } $ entry = new CacheItem ( ) ; $ entry -> value = serialize ( $ value ) ; $ entry -> expireAt = time ( ) + $ expiry ; $ data = serialize ( $ entry ) ; $ this -> store -> store ( $ key , $ data ) ; $ this -> items [ $ key ] = $ entry ; }
docstring: Cache an item
  
  @param string $key
  @param mixed $value
  @param int $expiry
  How many seconds to cache this object for (no value uses the configured default)
docstring_tokens: Cache an item