/** * Patch (partial in-place update) a resource * * @param mixed $id * @param mixed $data * @return ApiProblem|mixed */ public function patch($id, $data) { return $this->usersRepository->patch($id, $data); //return new ApiProblem(405, 'The PATCH method has not been defined for individual resources'); }