Closed GregOriol closed 10 years ago
Since cache is initialized in Restler's constructor :
public function __construct($productionMode = false, $refreshCache = false) { ... $this->cache = new Defaults::$cacheClass(); ... }
and ApcCache's constructor sets the namespace :
function __construct($namespace = 'restler') { self::$namespace = $namespace; }
It seems that there is no way to set the namespace as ApcCache's constructor will always override it.
@GregOriol You are right! we will remove the constructor!
Then we can always use ApcCache::$namespace to set the namespace
Since cache is initialized in Restler's constructor :
and ApcCache's constructor sets the namespace :
It seems that there is no way to set the namespace as ApcCache's constructor will always override it.