@@ -179,6 +179,9 @@ discard block |
||
179 | 179 | return isset($matches[1]) ? $matches[1] : []; |
180 | 180 | } // end getUriParams |
181 | 181 | |
182 | + /** |
|
183 | + * @param string $key |
|
184 | + */ |
|
182 | 185 | private function generateHashForUrl($key, $route, $method) |
183 | 186 | { |
184 | 187 | $path = preg_replace('~\s+~', '-', $key); |
@@ -203,6 +206,9 @@ discard block |
||
203 | 206 | return preg_split($splitCamelCaseRegexp, $chunk); |
204 | 207 | } // end splitCamelCaseToWords |
205 | 208 | |
209 | + /** |
|
210 | + * @param string $param |
|
211 | + */ |
|
206 | 212 | private function getRouteParam($route, $param) |
207 | 213 | { |
208 | 214 | $route = (array) $route; |
@@ -32,6 +32,9 @@ |
||
32 | 32 | $this->endpoints = $endpoints; |
33 | 33 | } |
34 | 34 | |
35 | + /** |
|
36 | + * @return string |
|
37 | + */ |
|
35 | 38 | public function render() |
36 | 39 | { |
37 | 40 | $host = $this->config->get('yaro.apidocs.blueprint.host'); |