if ($options instanceof Zend_Config
) { $options =
$options->
toArray();
} if (!
is_array($options)) { Zend_Cache::
throwException('Options passed were not an array'
. ' or Zend_Config instance.'
);
} foreach ($options as $name =>
$value) { $this->
setOption($name,
$value);
} $this->
_loggerSanity();
} /**
* Set options using an instance of type Zend_Config
*
* @param Zend_Config $config
*
* @return Zend_Cache_Core
*/
public function setConfig(Zend_Config
$config) {