protected function setQueueMessages(array $queueMessages)
    {
        $this->_queueMessages = array();

        foreach ($queueMessages as $value) {
            $this->_queueMessages[] = clone $value;
        }
    }
protected function setQueueMessages(array $queueMessages)
    {
        $this->_queueMessages = array();

        foreach ($queueMessages as $value) {
            $this->_queueMessages[] = clone $value;
        }
    }
protected function setQueueMessages ( array $ queueMessages ) { $ this -> _queueMessages = array ( ) ; foreach ( $ queueMessages as $ value ) { $ this -> _queueMessages [ ] = clone $ value ; } }
Sets queueMessages field.

@param array $queueMessages value to use.

@internal

@return void
Sets queueMessages field .