protected function renderPlainText(
        ServerRequestInterface $request,
        ResponseInterface $response,
        array $allowedMethods
    ) {
        printf("Method %s is not allowed\r\n", $request->getMethod());
        if ($this->isDisplayError()) {
            printf("Request method must be one of: (%s).\r\n", implode(', ', $allowedMethods));
        }
    }