예제 #1
0
 /**
  * updates an existing record.
  *
  * @param $id
  * @param array $attributes
  * @return mixed
  */
 public function update($id, array $attributes)
 {
     $updated = $this->repository->update($id, $attributes);
     $this->forget();
     return $updated;
 }