public static function get(string $name, $defaultValue = null, string $namespace = '*')
    {
        self::initialize();
        if (self::has($name, $namespace)) {
            return $_SESSION[$namespace][$name];
        }
        return $defaultValue;
    }
public static function get(string $name, $defaultValue = null, string $namespace = '*')
    {
        self::initialize();
        if (self::has($name, $namespace)) {
            return $_SESSION[$namespace][$name];
        }
        return $defaultValue;
    }
public static function get ( string $ name , $ defaultValue = null , string $ namespace = '*' ) { self :: initialize ( ) ; if ( self :: has ( $ name , $ namespace ) ) { return $ _SESSION [ $ namespace ] [ $ name ] ; } return $ defaultValue ; }
Get session-variable.

@param string $name
@param mixed $defaultValue Default null.
@param string $namespace Default '*'.
@return mixed
Get session - variable .