src/SessionCacheBag.php
public function set($name, $value, $lifeTime = 0)
    {
        if ($lifeTime > 0) {
            $lifeTime = time() + $lifeTime;
        }

        $this->data[$name] = array('data' => $value, 'lifeTime' => $lifeTime);
    }
public function set($name, $value, $lifeTime = 0)
    {
        if ($lifeTime > 0) {
            $lifeTime = time() + $lifeTime;
        }

        $this->data[$name] = array('data' => $value, 'lifeTime' => $lifeTime);
    }
{@inheritdoc}