src/Zf2Forum/Model/Message/MessageMapper.php
public function getMessageById($messageId)
    {
        $select = $this->getSelect()
                       ->where(array($this->messageIDField => $messageId));
        return $this->select($select)->current();
    }
public function getMessageById($messageId)
    {
        $select = $this->getSelect()
                       ->where(array($this->messageIDField => $messageId));
        return $this->select($select)->current();
    }
public function getMessageById ( $ messageId ) { $ select = $ this -> getSelect ( ) -> where ( array ( $ this -> messageIDField => $ messageId ) ) ; return $ this -> select ( $ select ) -> current ( ) ; }
getMessageById

@param int $messageId
@return MessageInterface
getMessageById