src/ServiceBus/Models/SubscriptionInfo.php
public function writeXml(\XMLWriter $xmlWriter)
    {
        $content = null;
        if (!is_null($this->_subscriptionDescription)) {
            $content = new Content();
            $content->setText(
                XmlSerializer::objectSerialize(
                    $this->_subscriptionDescription,
                    'SubscriptionDescription'
                )
            );
        }
        $this->_entry->setContent($content);
        $this->_entry->writeXml($xmlWriter);
    }
public function writeXml(\XMLWriter $xmlWriter)
    {
        $content = null;
        if (!is_null($this->_subscriptionDescription)) {
            $content = new Content();
            $content->setText(
                XmlSerializer::objectSerialize(
                    $this->_subscriptionDescription,
                    'SubscriptionDescription'
                )
            );
        }
        $this->_entry->setContent($content);
        $this->_entry->writeXml($xmlWriter);
    }
public function writeXml ( \ XMLWriter $ xmlWriter ) { $ content = null ; if ( ! is_null ( $ this -> _subscriptionDescription ) ) { $ content = new Content ( ) ; $ content -> setText ( XmlSerializer :: objectSerialize ( $ this -> _subscriptionDescription , 'SubscriptionDescription' ) ) ; } $ this -> _entry -> setContent ( $ content ) ; $ this -> _entry -> writeXml ( $ xmlWriter ) ; }
Writes XML based on the subscription information.

@param \XMLWriter $xmlWriter The XML writer
Writes XML based on the subscription information .