public function __construct($options = [])
{
if (!function_exists('apc_exists')) {
throw new ApcException('apc extension is not loaded: http://pecl.php.net/package/APCu');
}
if (!ini_get('apc.enable_cli')) {
throw new ApcException('apc.enable_cli=0, please enable it.');
}
if (is_object($options)) {
$options = (array) $options;
} elseif (is_string($options)) {
$options = ['prefix' => $options];
}
if (isset($options['prefix'])) {
$this->_prefix = $options['prefix'];
}
}