This repository was archived by the owner on Apr 29, 2019. It is now read-only.
File tree 1 file changed +6
-1
lines changed
app/code/Magento/WebapiAsync/Controller/Rest/Asynchronous
1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -80,12 +80,14 @@ public function __construct(
80
80
81
81
/**
82
82
* Process and resolve input parameters
83
+ *
83
84
* Return array with validated input params
84
85
* or throw \Exception if at least one request entity params is not valid
85
86
*
86
87
* @return array
87
88
* @throws \Magento\Framework\Exception\InputException if no value is provided for required parameters
88
89
* @throws \Magento\Framework\Webapi\Exception
90
+ * @throws \Magento\Framework\Exception\AuthorizationException
89
91
*/
90
92
public function resolve ()
91
93
{
@@ -110,6 +112,8 @@ public function resolve()
110
112
}
111
113
112
114
/**
115
+ * Detect route by input parameters
116
+ *
113
117
* @return \Magento\Webapi\Controller\Rest\Router\Route
114
118
*/
115
119
public function getRoute ()
@@ -118,9 +122,10 @@ public function getRoute()
118
122
}
119
123
120
124
/**
125
+ * Resolve parameters for service
126
+ *
121
127
* Convert the input array from key-value format to a list of parameters
122
128
* suitable for the specified class / method.
123
- *
124
129
* Instead of \Magento\Webapi\Controller\Rest\InputParamsResolver
125
130
* we don't need to merge body params with url params and use only body params
126
131
*
You can’t perform that action at this time.
0 commit comments