Google_Cache_Null

A blank storage class, for cases where caching is not required.

Defined (1)

The class is defined in the following location(s).

/lib/Google/Cache/Null.php  
  1. class Google_Cache_Null extends Google_Cache_Abstract 
  2. public function __construct(Google_Client $client) 
  3.  
  4.  
  5. /** 
  6. * @inheritDoc 
  7. */ 
  8. public function get($key, $expiration = false) 
  9. return false; 
  10.  
  11. /** 
  12. * @inheritDoc 
  13. */ 
  14. public function set($key, $value) 
  15. // Nop. 
  16.  
  17. /** 
  18. * @inheritDoc 
  19. * @param String $key 
  20. */ 
  21. public function delete($key) 
  22. // Nop.