Class ClosureCacheAdapter
	
	Cache adapter that defers to closures for implementation
	 
	
		- 
Guzzle\Cache\ClosureCacheAdapter			
			 implements 
				Guzzle\Cache\CacheAdapterInterface
			
			
		
	Methods summary
	
		| 
			 public 
			
			
			 | 
		#
		__construct( array $callables )
			The callables array is an array mapping the actions of the cache adapter to callables.
- contains: Callable that accepts an $id and $options argument
- delete:   Callable that accepts an $id and $options argument
- fetch:    Callable that accepts an $id and $options argument
- save:     Callable that accepts an $id, $data, $lifeTime, and $options argument 
			The callables array is an array mapping the actions of the cache adapter to callables.
- contains: Callable that accepts an $id and $options argument
- delete:   Callable that accepts an $id and $options argument
- fetch:    Callable that accepts an $id and $options argument
- save:     Callable that accepts an $id, $data, $lifeTime, and $options argument Parameters
					$callablesarray of action names to callableThrows | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		contains( string $id, array $options = null )
			Test if an entry exists in the cache. 
			Test if an entry exists in the cache. Parameters
					$idcache id The cache id of the entry to check for.$optionsArray of cache adapter optionsReturns
					booleanReturns TRUE if a cache entry exists for the given cache id, FALSE otherwise.
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		delete( string $id, array $options = null )
			Deletes a cache entry. Parameters
					$idcache id$optionsArray of cache adapter optionsReturns
					booleanTRUE on success, FALSE on failure
 Implementation of | 
	
		| 
			 public 
			string
			
			 | 
		#
		fetch( string $id, array $options = null )
			Fetches an entry from the cache. 
			Fetches an entry from the cache. Parameters
					$idcache id The id of the cache entry to fetch.$optionsArray of cache adapter optionsReturns
					stringThe cached data or FALSE, if no cache entry exists for the given id.
 Implementation of | 
	
		| 
			 public 
			boolean
			
			 | 
		#
		save( string $id, string $data, integer|boolean $lifeTime = false, array $options = null )
			Puts data into the cache. 
			Puts data into the cache. Parameters
					$idThe cache id$dataThe cache entry/data$lifeTimeThe lifetime. If != false, sets a specific lifetime for this cache entry$optionsArray of cache adapter optionsReturns
					booleanTRUE if the entry was successfully stored in the cache, FALSE otherwise.
 Implementation of | 
	
	
	Properties summary
	
		| 
			protected  
			array
		 | $callables 
				Mapping of method names to callables 
				Mapping of method names to callables |  |