public function reconfigure(array $options = [])
{
foreach ($options as $opt => $val) {
switch ($opt) {
case 'recycleAfter':
case 'hmacIP':
case 'expireOld':
case 'sessionIndex':
$this->{$opt} = $val;
break;
default:
throw new InvalidConfig(\trk('errors.object.invalid_property', $opt, __CLASS__));
}
}
}