public function __construct($options = [])
{
if (is_object($options)) {
$options = (array) $options;
}
$this->_ttl = (int) (isset($options['ttl']) ? $options['ttl'] : ini_get('session.gc_maxlifetime'));
if (isset($options['prefix'])) {
$this->_prefix = $options['prefix'];
}
}