PluginProbe
Media Cloud Sync / 1.4.2
Media Cloud Sync v1.4.2
1.4.2 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 All 36 releases
← All changes | includes/sdk/s3/Aws/Api/Operation.php +14 -0 1.2.13 → 1.4.2 View file →
@@ -11,8 +11,9 @@
11 11 private $output;
12 12 private $errors;
13 13 private $staticContextParams = [];
14 14 private $contextParams;
15 + private $operationContextParams = [];
15 16 public function __construct(array $definition, ShapeMap $shapeMap)
16 17 {
17 18 $definition['type'] = 'structure';
18 19 if (!isset($definition['http']['method'])) {
@@ -23,8 +24,11 @@
23 24 }
24 25 if (isset($definition['staticContextParams'])) {
25 26 $this->staticContextParams = $definition['staticContextParams'];
26 27 }
28 + if (isset($definition['operationContextParams'])) {
29 + $this->operationContextParams = $definition['operationContextParams'];
30 + }
27 31 parent::__construct($definition, $shapeMap);
28 32 $this->contextParams = $this->setContextParams();
29 33 }
30 34 /**
@@ -108,8 +112,18 @@
108 112 */
109 113 public function getContextParams()
110 114 {
111 115 return $this->contextParams;
116 + }
117 + /**
118 + * Gets definition of modeled dynamic values used
119 + * for endpoint resolution
120 + *
121 + * @return array
122 + */
123 + public function getOperationContextParams() : array
124 + {
125 + return $this->operationContextParams;
112 126 }
113 127 private function setContextParams()
114 128 {
115 129 $members = $this->getInput()->getMembers();