src/IronMQ.php
public function getMessages($queue_name, $count = 1, $timeout = self::GET_MESSAGE_TIMEOUT, $wait = self::GET_MESSAGE_WAIT)
    {
        return $this->reserveMessages($queue_name, $count, $timeout, $wait);
    }
public function getMessages($queue_name, $count = 1, $timeout = self::GET_MESSAGE_TIMEOUT, $wait = self::GET_MESSAGE_WAIT)
    {
        return $this->reserveMessages($queue_name, $count, $timeout, $wait);
    }
Reserve multiplie messages from queue

@param string $queue_name Queue name
@param int $count
@param int $timeout
@return array|null array of messages or null
@deprecated Use reserveMessages instead