PluginProbe
Media Cloud Sync / 1.4.1
Media Cloud Sync v1.4.1
1.4.1 1.4.0 1.3.12 1.3.11 1.3.10 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.1.0 1.1.1 1.2.0 1.2.10 1.2.11 1.2.12 1.2.13 1.2.2 1.2.3 1.2.4 1.2.5 1.2.6 1.2.7 1.2.8 1.2.9 All 35 releases
← All changes | includes/sdk/s3/Aws/Api/AbstractModel.php +5 -0 1.2.31.4.1 View file →
@@ -10,8 +10,10 @@
10 10 /** @var array */
11 11 protected $definition;
12 12 /** @var ShapeMap */
13 13 protected $shapeMap;
14 + /** @var array */
15 + protected $contextParam;
14 16 /**
15 17 * @param array $definition Service description
16 18 * @param ShapeMap $shapeMap Shapemap used for creating shapes
17 19 */
@@ -18,8 +20,11 @@
18 20 public function __construct(array $definition, ShapeMap $shapeMap)
19 21 {
20 22 $this->definition = $definition;
21 23 $this->shapeMap = $shapeMap;
24 + if (isset($definition['contextParam'])) {
25 + $this->contextParam = $definition['contextParam'];
26 + }
22 27 }
23 28 public function toArray()
24 29 {
25 30 return $this->definition;