I'm trying to update a value in session-Array, but it doesn't work. Initial set:
$bag = new SessionBag('p-' . $productId);
$bag->person = ['name' => 'john', 'age' => 25];
Then update:
$bag->person['age'] = 30;
After that the age is still 25 (checked in a xdebug-session).