public function createInternetGateway() { $result = null; $options = array(); $action = ucfirst(__FUNCTION__); $response = $this->client->call($action, $options); if ($response->getError() === false) { $sxml = simplexml_load_string($response->getRawContent()); $result = $this->_loadInternetGatewayData($sxml->internetGateway); } return $result; }