Hi, SessionBag is created:
$di->setShared('sessionBag',function () {
return new \Phalcon\Session\Bag('bag');
});
but $this->persistent->something shows always the same value. No matter which class this is called from.
This work in Phalcon < V4 but not in Phalcon >4
$test = $this->getDi()->get("sessionBag",[get_class($this)]);
I expect an unique session bag for this class. Whats wrong? Has someone the same problem?