public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
public static function get(string $name): ?string
    {
        $data = Session::get($name, null, self::$namespace);
        if (is_array($data) && array_key_exists('token', $data)) {
            return $data['token'];
        }
        return null;
    }
public static function get ( string $ name ) : ? string { $ data = Session :: get ( $ name , null , self :: $ namespace ) ; if ( is_array ( $ data ) && array_key_exists ( 'token' , $ data ) ) { return $ data [ 'token' ] ; } return null ; }
Get token.

@param string $name
@return string|null
Get token .