/** * Constructs this backend * * @param string $context FLOW3's application context * @param mixed $options Configuration options - unused here * @author Robert Lemke <*****@*****.**> * @author Karsten Dambekalns <*****@*****.**> */ public function __construct($context, $options = array()) { if (!extension_loaded('apc')) { throw new \F3\FLOW3\Cache\Exception('The PHP extension "apc" must be installed and loaded in order to use the APC backend.', 1232985414); } parent::__construct($context, $options); }
/** * Constructs this backend * * @param string $context FLOW3's application context * @param mixed $options Configuration options - depends on the actual backend * @author Robert Lemke <*****@*****.**> */ public function __construct($context, $options = array()) { if (!extension_loaded('memcache')) { throw new \F3\FLOW3\Cache\Exception('The PHP extension "memcached" must be installed and loaded in order to use the Memcached backend.', 1213987706); } parent::__construct($context, $options); }