ReturnMessage Class =================== .. php:class:: ReturnMessage Represents a return message Implements :php:interface:`ItemInterface` .. php:method:: __construct(AsyncMessage|string $value) Create a new ReturnMessage :param AsyncMessage|string $value: The return value :returns: A new instance of ``ReturnMessage`` with the comment :rtype: ReturnMessage .. php:method:: withComment(string $comment) Set a comment for the ReturnMessage :param string $comment: The comment :returns: A new instance of ``ReturnMessage`` with the comment :rtype: ReturnMessage