/** * Validate that the cache directory exists and is writable. * * @return boolean */ protected static function validateCacheDir() { self::validateOpt('cacheDir'); self::$_cacheDir = self::$_opt['cacheDir']; $isValid = self::validateDir(self::$_cacheDir); return $isValid; }