response->getBody()->write('Method Not Allowed'); return $this->response->withStatus(405); } }