src/SessionCache.php
protected function doSave($id, $data, $lifeTime = 0)
    {
        $this->session->getBag($this->bagName)->set($id, $data, $lifeTime);

        return true;
    }
protected function doSave($id, $data, $lifeTime = 0)
    {
        $this->session->getBag($this->bagName)->set($id, $data, $lifeTime);

        return true;
    }
{@inheritdoc}