public function replaceList($data) { $this->response->setStatusCode(405); return ['content' => 'Method Not Allowed']; }