src/ShortMessageCollection.php
public function toXml()
    {
        $messages = '';
        /** @var ShortMessage $shortMessage */
        foreach ($this->items as $shortMessage) {
            $messages .= $shortMessage->toMultipleMessagesXml();
        }

        return $messages;
    }
public function toXml()
    {
        $messages = '';
        /** @var ShortMessage $shortMessage */
        foreach ($this->items as $shortMessage) {
            $messages .= $shortMessage->toMultipleMessagesXml();
        }

        return $messages;
    }
public function toXml ( ) { $ messages = '' ; /** @var ShortMessage $shortMessage */ foreach ( $ this -> items as $ shortMessage ) { $ messages .= $ shortMessage -> toMultipleMessagesXml ( ) ; } return $ messages ; }
Get the xml representation of the items.

@return string
Get the xml representation of the items .