src/Leevel/Session/Session.php
public function start(?string $sessionId = null): void
    {
        if ($this->isStart()) {
            return;
        }

        $this->setId($sessionId ?: $this->option['id']);

        $this->loadData();

        $this->started = true;
    }
public function start(?string $sessionId = null): void
    {
        if ($this->isStart()) {
            return;
        }

        $this->setId($sessionId ?: $this->option['id']);

        $this->loadData();

        $this->started = true;
    }
启动 session.

@param string $sessionId