public function registerApiKey($domain = '')
    {
        $this->apiKeyDomain = $domain;
        $this->_setApiKey();
        if (empty($this->apiKey)) {
            throw new SteamException('Could not register API key.');
        }
        return $this->apiKey;
    }
public function registerApiKey($domain = '')
    {
        $this->apiKeyDomain = $domain;
        $this->_setApiKey();
        if (empty($this->apiKey)) {
            throw new SteamException('Could not register API key.');
        }
        return $this->apiKey;
    }
public function registerApiKey ( $ domain = '' ) { $ this -> apiKeyDomain = $ domain ; $ this -> _setApiKey ( ) ; if ( empty ( $ this -> apiKey ) ) { throw new SteamException ( 'Could not register API key.' ) ; } return $ this -> apiKey ; }
In most cases, you don't need to call this since an API key is registered automatically upon logging in as long as you have set the domain first.
@param string $domain
@return string
@throws SteamException Thrown when Steam gives an unexpected response (e.g. Steam is down/having issues)
In most cases you don t need to call this since an API key is registered automatically upon logging in as long as you have set the domain first .