container = $container; } /** * PUT testCodeInjectEndRnNR * Summary: To test code injection *_/ ' \" =end -- \\r\\n \\n \\r * Notes: To test code injection *_/ ' \" =end -- \\r\\n \\n \\r * * @param ServerRequestInterface $request Request * @param ResponseInterface $response Response * @param array|null $args Path arguments * * @return ResponseInterface * @throws Exception to force implementation class to override this method */ public function testCodeInjectEndRnNR(ServerRequestInterface $request, ResponseInterface $response, array $args) { $testCodeInjectEndRnNR = $request->getParsedBodyParam('test code inject */ ' " =end -- \r\n \n \r'); $message = "How about implementing testCodeInjectEndRnNR as a PUT method in OpenAPIServer\Api\FakeApi class?"; throw new Exception($message); return $response->write($message)->withStatus(501); } }