@@ -173,6 +173,8 @@ |
||
173 | 173 | /** |
174 | 174 | * build the 'original' REST-API-Request (aka Restler-object, which is always |
175 | 175 | * required) and store it in the REST-API-Request-Scope (aka Scope-object) |
176 | + * @param string $requestMethod |
|
177 | + * @param string $requestUri |
|
176 | 178 | */ |
177 | 179 | private function prepareRequest($requestMethod, $requestUri, $getData = null, $postData = null) |
178 | 180 | { |
@@ -86,6 +86,7 @@ |
||
86 | 86 | * |
87 | 87 | * @throws Exception when the api service class is missing |
88 | 88 | * @throws RestException to send error response |
89 | + * @return string |
|
89 | 90 | */ |
90 | 91 | public function handle() |
91 | 92 | { |
@@ -87,6 +87,9 @@ |
||
87 | 87 | return []; |
88 | 88 | } |
89 | 89 | |
90 | + /** |
|
91 | + * @param string $uri |
|
92 | + */ |
|
90 | 93 | private function isRestlerUrl($uri): bool |
91 | 94 | { |
92 | 95 | return \Aoe\Restler\System\Restler\Routes::containsUrl($uri); |