src/Leevel/Session/Session.php
public function get(string $name, $value = null)
    {
        $name = $this->getNormalizeName($name);

        return $this->datas[$name] ?? $value;
    }
public function get(string $name, $value = null)
    {
        $name = $this->getNormalizeName($name);

        return $this->datas[$name] ?? $value;
    }
取回 session.

@param string $name
@param mixed  $value

@return mixed