/**
* Check for existence of the wincache extension This method cannot be invoked externally. The driver must
* be instantiated using the `Cache::instance()` method.
*
* @param array configuration
* @throws Kohana_Cache_Exception
*/
protected function __construct(array $config)
{
if (!extension_loaded('wincache')) {
throw new Kohana_Cache_Exception('PHP wincache extension is not available.');
}
parent::__construct($config);
}