| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 | 
							- <?php
 
- /**
 
-  * Copyright © Magento, Inc. All rights reserved.
 
-  * See COPYING.txt for license details.
 
-  */
 
- namespace Magento\Framework\MessageQueue;
 
- use Magento\Framework\MessageQueue\EnvelopeInterface;
 
- class Envelope implements EnvelopeInterface
 
- {
 
-     /**
 
-      * @var array
 
-      */
 
-     private $properties;
 
-     /**
 
-      * @var string
 
-      */
 
-     private $body;
 
-     /**
 
-      * @param string $body
 
-      * @param array $properties
 
-      */
 
-     public function __construct($body, array $properties = [])
 
-     {
 
-         $this->body = $body;
 
-         $this->properties = $properties;
 
-     }
 
-     /**
 
-      * {@inheritdoc}
 
-      */
 
-     public function getBody()
 
-     {
 
-         return $this->body;
 
-     }
 
-     /**
 
-      * {@inheritdoc}
 
-      */
 
-     public function getProperties()
 
-     {
 
-         return $this->properties;
 
-     }
 
- }
 
 
  |