Ejemplo n.º 1
0
 /**
  * Creates a new record.
  *
  * @param array $attributes
  * @return mixed
  */
 public function create(array $attributes)
 {
     $model = $this->repository->create($attributes);
     $this->forget();
     return $model;
 }