PubSub/src/Subscription.php
private function getMessageAckIds(array $messages)
    {
        $ackIds = [];
        foreach ($messages as $message) {
            $ackIds[] = $message->ackId();
        }

        return $ackIds;
    }
private function getMessageAckIds(array $messages)
    {
        $ackIds = [];
        foreach ($messages as $message) {
            $ackIds[] = $message->ackId();
        }

        return $ackIds;
    }
private function getMessageAckIds ( array $ messages ) { $ ackIds = [ ] ; foreach ( $ messages as $ message ) { $ ackIds [ ] = $ message -> ackId ( ) ; } return $ ackIds ; }
Get a list of ackIds from a list of Message objects.

@param Message[] $messages The messages
@return array
Get a list of ackIds from a list of Message objects .