@@ -56,7 +56,6 @@ discard block |
||
| 56 | 56 | * |
| 57 | 57 | * @param array|\stdClass $request The request to convert to an object. |
| 58 | 58 | * @param string $className The class of the object to which the request must be converted. |
| 59 | - * @param \Mcustiel\SimpleRequest\RequestParser $behaviour The behaviour of the parser. |
|
| 60 | 59 | */ |
| 61 | 60 | public function parseRequest( |
| 62 | 61 | $request, |
@@ -67,6 +66,10 @@ discard block |
||
| 67 | 66 | ->parse($this->sanitizeRequestOrThrowExceptionIfInvalid($request)); |
| 68 | 67 | } |
| 69 | 68 | |
| 69 | + /** |
|
| 70 | + * @param string $className |
|
| 71 | + * @param RequestParser $parser |
|
| 72 | + */ |
|
| 70 | 73 | private function generateRequestParserObject($className, $parser) |
| 71 | 74 | { |
| 72 | 75 | $cacheKey = str_replace('\\', '', $className . get_class($parser)); |