We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3a9668 commit b68a21fCopy full SHA for b68a21f
lib/internal/Magento/Framework/App/Console/Request.php
@@ -88,6 +88,28 @@ public function getParam($key, $defaultValue = null)
88
return $defaultValue;
89
}
90
91
+ /**
92
+ * Retrieve all params as array
93
+ *
94
+ * @return array
95
+ */
96
+ public function getParams()
97
+ {
98
+ return $this->params;
99
+ }
100
+
101
102
+ * Set params from key value array
103
104
+ * @param array $data
105
+ * @return $this
106
107
+ public function setParams(array $data)
108
109
+ $this->params = $data;
110
+ return $this;
111
112
113
/**
114
* Stub to satisfy RequestInterface
115
*
0 commit comments