1 | <?php |
||
8 | class Envelope implements EnvelopeInterface |
||
9 | { |
||
10 | /** |
||
11 | * @var string |
||
12 | */ |
||
13 | private $sequenceId; |
||
14 | /** |
||
15 | * @var string |
||
16 | */ |
||
17 | private $type; |
||
18 | /** |
||
19 | * @var array |
||
20 | */ |
||
21 | private $data; |
||
22 | /** |
||
23 | * @var IdentityNodeInterface[] |
||
24 | */ |
||
25 | private $inodes; |
||
26 | |||
27 | /** |
||
28 | * Envelope constructor. |
||
29 | * @param string $type |
||
30 | * @param string $sequenceId |
||
31 | * @param IdentityNodeInterface[] $inodes |
||
32 | * @param array $values |
||
33 | */ |
||
34 | public function __construct($type, $sequenceId, array $inodes, array $values) |
||
53 | |||
54 | /** |
||
55 | * @inheritDoc |
||
56 | */ |
||
57 | public function getIterator() |
||
61 | |||
62 | /** |
||
63 | * @inheritDoc |
||
64 | */ |
||
65 | public function getType() |
||
69 | |||
70 | /** |
||
71 | * @inheritDoc |
||
72 | */ |
||
73 | public function getSequenceId() |
||
77 | |||
78 | /** |
||
79 | * @inheritDoc |
||
80 | */ |
||
81 | public function getIdentities() |
||
85 | |||
86 | /** |
||
87 | * @inheritDoc |
||
88 | */ |
||
89 | public function offsetExists($offset) |
||
93 | |||
94 | /** |
||
95 | * @inheritDoc |
||
96 | */ |
||
97 | public function offsetGet($offset) |
||
105 | |||
106 | /** |
||
107 | * @inheritDoc |
||
108 | */ |
||
109 | public function offsetSet($offset, $value) |
||
113 | |||
114 | /** |
||
115 | * @inheritDoc |
||
116 | */ |
||
117 | public function offsetUnset($offset) |
||
123 | |||
124 | /** |
||
125 | * @inheritDoc |
||
126 | */ |
||
127 | public function toArray() |
||
131 | } |
||
132 |