Contao\Session::get PHP Метод

get() публичный Метод

Return a session variable
public get ( string $strKey ) : mixed
$strKey string The variable name
Результат mixed The variable value
    public function get($strKey)
    {
        // Map the referer (see #281)
        if (in_array($strKey, $this->mappedKeys)) {
            return $this->session->get($strKey);
        }
        return $this->sessionBag->get($strKey);
    }