public static function createFromListMessages(array $parsedResponse)
    {
        $timeNextVisible = $parsedResponse['TimeNextVisible'];

        $msg  = self::createFromPeekMessages($parsedResponse);
        $date = Utilities::rfc1123ToDateTime($timeNextVisible);
        $msg->setTimeNextVisible($date);
        $msg->setPopReceipt($parsedResponse['PopReceipt']);

        return $msg;
    }
public static function createFromListMessages(array $parsedResponse)
    {
        $timeNextVisible = $parsedResponse['TimeNextVisible'];

        $msg  = self::createFromPeekMessages($parsedResponse);
        $date = Utilities::rfc1123ToDateTime($timeNextVisible);
        $msg->setTimeNextVisible($date);
        $msg->setPopReceipt($parsedResponse['PopReceipt']);

        return $msg;
    }
public static function createFromListMessages ( array $ parsedResponse ) { $ timeNextVisible = $ parsedResponse [ 'TimeNextVisible' ] ; $ msg = self :: createFromPeekMessages ( $ parsedResponse ) ; $ date = Utilities :: rfc1123ToDateTime ( $ timeNextVisible ) ; $ msg -> setTimeNextVisible ( $ date ) ; $ msg -> setPopReceipt ( $ parsedResponse [ 'PopReceipt' ] ) ; return $ msg ; }
Creates QueueMessage object from parsed XML response of
ListMessages.

@param array $parsedResponse XML response parsed into array.

@internal

@return QueueMessage
Creates QueueMessage object from parsed XML response of ListMessages .