Content copyright © 2006-2007 by eZ systems A.S.
|
|
|
|
Description:
ezcCacheManager::createCache requires a physical location
The location as a required attribute makes sense if it is a file-based cache. But in the case of a memory or database oriented cache mechanism, the requirement of a location is restrictive and useless. It seems to make more sense that the location would be anothe key in the options array. It would also be sensible that the $options would be sanity checked relative to the $storageClass. Each storage class is likely to have it's own necessary options that would extend some default options. $location does not need to be a required option for an APC or Memcache based cache system. Environment: PHP Version: 5.2.3 |
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||