Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Envelope.php
Go to the documentation of this file.
1 <?php
7 
9 
10 class Envelope implements EnvelopeInterface
11 {
15  private $properties;
16 
20  private $body;
21 
26  public function __construct($body, array $properties = [])
27  {
28  $this->body = $body;
29  $this->properties = $properties;
30  }
31 
35  public function getBody()
36  {
37  return $this->body;
38  }
39 
43  public function getProperties()
44  {
45  return $this->properties;
46  }
47 }
__construct($body, array $properties=[])
Definition: Envelope.php:26