$this->_backend =
$backendObject;
// some options (listed in $_directivesList) have to be given
// to the backend too (even if they are not "backend specific")
$directives =
[];
foreach (self::
$_directivesList as $directive) { $directives[$directive] =
$this->_options
[$directive];
} $this->_backend->
setDirectives($directives);
if (in_array('Zend_Cache_Backend_ExtendedInterface',
class_implements($this->_backend
))) { $this->_extendedBackend = true;
$this->_backendCapabilities =
$this->_backend->
getCapabilities();
} } /**
* Returns the backend
*
* @return Zend_Cache_Backend backend object
*/
public function getBackend() { return $this->_backend;
}