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